ExternalSigner

Enables interaction with an external signing device or service, such as a hardware wallet. See doc/external-signer.md

Synopsis

Declared in <external_signer.h>

class ExternalSigner;

Member Functions

NameDescription
ExternalSigner [constructor]Constructs a signer bound to a command, chain, fingerprint and name.
DisplayAddress Display address on the device. Calls `<command> --fingerprint <fingerprint> --chain <chain> displayaddress --desc <descriptor>`.
GetDescriptors Get receive and change Descriptor(s) from device for a given account. Calls `<command> --fingerprint <fingerprint> --chain <chain> getdescriptors --account <account>`.
SignTransaction Sign PartiallySignedTransaction on the device. Calls <command> --stdin --fingerprint <fingerprint> --chain <chain> and passes the signtx command and PSBT via stdin.

Static Member Functions

NameDescription
Enumerate Obtain a list of signers. Calls <command> enumerate.

Data Members

NameDescription
m_fingerprint Master key fingerprint of the signer
m_name Name of signer