crashes with error:
AttributeError: type object 'PublicKey' has no attribute 'from_bech32'. Did you mean: 'to_bech32'?
I had this posted a while ago
was using nostr_sdk 0.32 at that time
but feels like the code is not working anymore with 0.39 (latest nostr_sdk version)
https://alashazam.wordpress.com/2024/07/07/python-nostr_sdk-fetching-all-metadata/
crashes with error:
AttributeError: type object 'PublicKey' has no attribute 'from_bech32'. Did you mean: 'to_bech32'?
Yeah it should be to_bech32. Here is an example code from their GitHub https://github.com/rust-nostr/nostr/blob/master/bindings/nostr-sdk-ffi/python/examples/metadata.py
good find, but that program is a bit too old as well, (it is only one month old) ... but it crashes with this error :