Read nip19 https://github.com/nostr-protocol/nips/blob/master/19.md
Discussion
Read it...
What i need is something to decode like this
NOSTR_PRIVATE_KEY.public_key.bech32() <- this is to npub
Read it...
What i need is something to decode like this
NOSTR_PRIVATE_KEY.public_key.bech32() <- this is to npub