nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / encodeToBech32

Function: encodeToBech32()

encodeToBech32(hrp, hex): string

Defined in: crypto/bech32.ts:165

Encode hex string to bech32

Parameters

hrp

string

hex

string

Returns

string