If you're building a Nostr client, check out ndk.fyi - it's in Typescript I think.
Even if you don't use ndk, you can see what library it uses for bech32 encoding
If you're building a Nostr client, check out ndk.fyi - it's in Typescript I think.
Even if you don't use ndk, you can see what library it uses for bech32 encoding