Created
February 3, 2023 11:44
-
-
Save dvdtoth/544e0f79b53e336e8e304fcb5011812b to your computer and use it in GitHub Desktop.
Nostr Bech32 npub to hex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from nostr.key import PublicKey | |
| print(PublicKey('').from_npub("npub18km328aqzchsrd9lhhfkedyah9qs0umjhletrncfq29w9jkm78gqjkw66k").hex()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment