Creates an instance of LedgerSigner. It's expected to call the static fromDerivationPath
method to create an instance.
Retrieves the key scheme used by this signer.
Retrieves the public key associated with this signer.
The Ed25519PublicKey instance.
Signs the provided personal message.
The signed message bytes and signature.
Signs the provided transaction bytes.
The signed transaction bytes and signature.
Static
fromPrepares the signer by fetching and setting the public key from a Ledger device.
It is recommended to initialize an LedgerSigner
instance using this function.
A promise that resolves once a LedgerSigner
instance is prepared (public key is set).
Ledger integrates with the Sui blockchain to provide signing capabilities using Ledger devices.