Construct an ExtendedKey
object out of its' base58 payload.
Static property to define which type of message authentication code must be used.
Derive hyper-deterministic node by path
.
Default account layer should derive path m/44'/43'/0'/0/0
.
Encode a key into encoding
. Default encoding
is KeyEncoding.ENC_HEX
which results in a hexadecimal notation of the key.
Get the private key of the HD-node.
This method defaults to returning the hexadecimal notation of
the key. Use KeyEncoding.ENC_BIN
if you need the binary form.
Get the public key in hexadecimal notation.
This method defaults to returning the hexadecimal notation of
the key. Use KeyEncoding.ENC_BIN
if you need the binary form.
Get a neutered hyper-deterministic node. This corresponds to a public key only extended key.
From a neutered HD-node, users can only generate public child keys and no private child keys.
The neutered HD-node
Return whether the current node
is a master key node or not.
Return whether an extended key node is neutered or not.
Neutered = Public Key only Not Neutered = Private Key available
This method proxies the conversion to base58 format
to the bitcoinjs/bip32
library.
Create an extended key hyper-deterministic node by its' Base58 payload.
This method uses the bitcoinjs/bip32
function named fromBase58
and creates an extended key node by parsing the Base58 binary
representation.
Create an extended key hyper-deterministic node with the master seed.
This method uses the bitcoinjs/bip32
function named fromSeed
and creates an extended key node by creating HMAC-SHA512 hash
of the words 'Bitcoin seed' appended with the seed
binary
representation.
The result is split in 2 parts where the left most 32 bytes are the private and right most 32 bytes are the public key.
Generated using TypeDoc
Class
ExtendedKey
describes a hierarchical deterministic extended key that can be derived. This hierarchical deterministic child key derivation feature is described in the Bitcoin BIP32 standard which can be found at following URL:This class uses features provided by the
bitcoinjs/bip32
package and therefor is licensed under the BSD-2 Clause License as mentioned here.https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
https://github.com/bitcoinjs/bip32
https://github.com/nemtech/NIP/issues/12
0.1.0