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. |
Methods
deriveOne(identifier) → {Bip32Node}
Derives a direct child node with specified identifier.
Parameters:
Name | Type | Description |
---|---|---|
identifier |
number | Child identifier. |
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. |
Returns:
BIP32 node at the end of the path.
- Type
- Bip32Node