These are the HDSigner exported functions, the HDSigner is used to manage and sign transactions internally using your XPUB (HD wallets). BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.
Encrypt to password and backup to local storage for persistence.
Create and derive a new account.
Derives a bitcoinjs-lib key pair based on the address index and change marker provided.
Derive a HD account based on the index number passed in.
Takes an HD path and derives the key pair from it.
Takes an HD path, derives a key pair from it and returns the public key.
Takes a key pair and gives back a P2WPKH address.
Takes a public key and gives back a P2WPKH address.
Get the master seed fingerprint used for signing bitcoinjs-lib PSBTs.
Get new address for sending change to.
Get new address for sending coins to.
Returns the HDSigner's BIP32 root node.
Restore on load from local storage and decrypt data to de-serialize objects.
Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account.
Sets the change and receiving indexes from xPub tokens passed in, from a back-end provider response.
Create signing information based on the HDSigner (if set)