nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / encodePubkey

Function: encodePubkey()

encodePubkey(pubkey): string

Encode a public key to bech32 npub format

Parameters

pubkey

string

Returns

string

Defined in

nips/nip-19.ts:14