nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / encodePrivkey

Function: encodePrivkey()

encodePrivkey(privkey): string

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

Encode a private key to bech32 nsec format

Parameters

privkey

string

Returns

string