nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / encodePubkey

Function: encodePubkey()

encodePubkey(pubkey): string

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

Encode a public key to bech32 npub format

Parameters

pubkey

string

Returns

string