StaticencodeEncodes a wallet source string into a base-37 representation as a Uint8Array. Each character is mapped to the WALLET_SOURCE_CHARSET (space + 0-9 + a-z = 37 chars). The result is a big-endian byte representation of the base-37 number.
The wallet source string to encode (max 16 chars, lowercase)
Uint8Array containing the encoded wallet source
StaticdecodeDecodes a base-37 encoded Uint8Array back to a wallet source string.
The encoded wallet source bytes (big-endian base-37 number)
The decoded wallet source string
Base-37 encoding and decoding for wallet source identifiers.