Class: Bip32

Bip32(curveName, mnemonicLanguage)

Factory of BIP32 root nodes.

Constructor

new Bip32(curveName, mnemonicLanguage)

Creates a BIP32 root node factory.
Parameters:
Name Type Default Description
curveName string ed25519 Elliptic curve to use.
mnemonicLanguage string english Language of constructed mnemonics.
Source:

Methods

fromMnemonic(mnemonic, password) → {Bip32Node}

Creates a BIP32 root node from a BIP39 mnemonic and password.
Parameters:
Name Type Description
mnemonic string BIP32 mnemonic.
password string BIP32 mnemonic password.
Source:
Returns:
BIP32 root node.
Type
Bip32Node

fromSeed(seed) → {Bip32Node}

Creates a BIP32 root node from a seed.
Parameters:
Name Type Description
seed Uint8Array BIP32 seed.
Source:
Returns:
BIP32 root node.
Type
Bip32Node