Class: Bip32Node

Bip32Node(hmacKey, data)

Representation of a BIP32 node.

Constructor

new Bip32Node(hmacKey, data)

Creates a BIP32 node around a key and data.
Parameters:
Name Type Description
hmacKey string BIP32 HMAC key.
data Uint8Array BIP32 seed.
Source:

Methods

deriveOne(identifier) → {Bip32Node}

Derives a direct child node with specified identifier.
Parameters:
Name Type Description
identifier number Child identifier.
Source:
Returns:
BIP32 child node.
Type
Bip32Node

derivePath(path) → {Bip32Node}

Derives a descendent node with specified path.
Parameters:
Name Type Description
path array.<number> BIP32 path.
Source:
Returns:
BIP32 node at the end of the path.
Type
Bip32Node