Voken HD Wallet Generator/Validator

BIP39 mnemonic

Mnemonic code for generating deterministic keys

BIP39: A group of easy to remember words – for the generation of deterministic wallets.

BIP32 HD Wallet

Hierarchical Deterministic Wallets

BIP32: Use the binary seed converted from a BIP39 mnemonic to generate hierarchical deterministic wallets.

BIP44 Multi-Account

Multi-Account Hierarchy for Deterministic Wallets

Voken was listed in SLIP-0044, with 678 as the coin_type value.

Its rootPath of BIP44 is m/44'/678'/0'/0/...

Read more at BIP44

Native checksum

A valid voken wallet address looks like: v8TX860N7Eu1jMv1yQJkb8fykXts2mVAG

It is a native checksum address. Any misspelling of even a single character will fail in address verification. This means that no Voken will be lost due to someone mistyped/pasted an wrong address.

ALPHABET for @voken/base32

@voken/base32 is human-friendly – you don’t have to worry about letters/numbers that are easy to confuse, making it easier to transmit in handwriting or typing over the phone.

The encoding alphabet consists of the numerals 0-9 and the letters a-z, excluding a few letters that might look like numbers, which we simply interpret as follows:

  • i, l -> 1

  • o -> 0

  • z -> 2

const ALPHABET = '0123456789abcdefghjkmnpqrstuvwxy'

Each character corresponds to 5 bits of input.

Lexicographic order of strings is preserved through Base 32 encoding.