LedgerSignerProtocol
LedgerSignerProtocol
protocol LedgerSignerProtocol : AnyObject, Sendable
Signs with the key at one derivation path on a Ledger device.
Before each signature it reads the public key again and fails with
KeyMismatch if it differs, which happens when another device is connected
or the device was unlocked with a different seed or passphrase.
Use TransactionSigner.from_ledger to sign with it through the transaction
builder, which passes it the transaction's objects so the device shows what
the transaction does.