These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.
Encrypt to password and backup to local storage for persistence.
Converts a Syscoin PSBT to Trezor format.
Create and derive a new account.
Derive a HD account based on the index number passed in.
Returns the TrezorSigner's BIP32 root node.
Takes a public key and gives back a P2WPKH address.
Get new address for sending change to.
Get new address for sending coins to.
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 TrezorSigner (if set)