Constructor
new Bip32Node(hmacKey, data)
Parameters:
Name | Type | Description |
---|---|---|
hmacKey |
Uint8Array | BIP32 HMAC key. |
data |
Uint8Array | BIP32 seed. |
Classes
Members
chainCode :Uint8Array
Chain code associated with this node.
Type:
- Uint8Array
privateKey :PrivateKey
Private key associated with this node.
Type:
Methods
deriveOne(identifier) → {Bip32Node}
Parameters:
Name | Type | Description |
---|---|---|
identifier |
number | Child identifier. |
Returns:
BIP32 child node.
- Type
- Bip32Node
derivePath(path) → {Bip32Node}
Parameters:
Name | Type | Description |
---|---|---|
path |
Array.<number> | BIP32 path. |
Returns:
BIP32 node at the end of the path.
- Type
- Bip32Node