nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / decodePubkey

Function: decodePubkey()

decodePubkey(npub): string

Defined in: nips/nip-19.ts:40

Decode a bech32 npub to hex pubkey

Parameters

npub

string

Returns

string