Ledger Signer
Ledger device-based signer instance
new LedgerSigner
Creates a new instance of the Ledger device signer, using the provided LedgerConnector
Parameters
connector
LedgerConnector the Ledger connectoraccountIndex
number the desired account indexaddressPrefix
string the address prefix
Usage
const accountIndex: number = 10 // for ex. 10th account in the derivation
const connector: LedgerConnector = // ...
new LedgerSigner(connector, accountIndex);
// new Ledger device signer created