Bip32Node

Bip32Node

Representation of a BIP32 node.

Constructor

new Bip32Node(hmacKey, data)

Description:
  • Creates a BIP32 node around a key and data.

Source:
Parameters:
Name Type Description
hmacKey Uint8Array

BIP32 HMAC key.

data Uint8Array

BIP32 seed.

Classes

Bip32Node

Members

chainCode :Uint8Array

Description:
  • Chain code associated with this node.

Source:

Chain code associated with this node.

Type:
  • Uint8Array

privateKey :PrivateKey

Description:
  • Private key associated with this node.

Source:

Private key associated with this node.

Type:

Methods

deriveOne(identifier) → {Bip32Node}

Description:
  • Derives a direct child node with specified identifier.

Source:
Parameters:
Name Type Description
identifier number

Child identifier.

Returns:

BIP32 child node.

Type
Bip32Node

derivePath(path) → {Bip32Node}

Description:
  • Derives a descendent node with specified path.

Source:
Parameters:
Name Type Description
path Array.<number>

BIP32 path.

Returns:

BIP32 node at the end of the path.

Type
Bip32Node