Creates a new identity in the wallet.
The identity is bound to one chain ID to encourage using different keypairs on different chains.
Created a detached signature for the signable bytes with the private key that matches the given Identity.
If a matching Identity is not present in this wallet, an error is thrown.
Returns all identities currently registered
Gets a local label associated with the public identity to be displayed in the UI.
Creates a new identity from the wallet's secret but does not store it.
This allows the Keyring to check for duplicate identities before they are persisted.
Exposes the secret data of this wallet in a printable format for backup purposes.
The format depends on the implementation and may change over time, so do not try to parse the result or make any kind of assumtions on how the result looks like.
Sets a local label associated with the public identity to be displayed in the UI. To clear a label, set it to undefined
Sets a label for this wallet to be displayed in the UI. To clear the label, set it to undefined.
Generated using TypeDoc
A is a generic interface for managing a set of keys and signing data with them.
A Wallet is responsible for storing private keys securely and signing with them. Wallet can be implemented in software or as a bridge to a hardware wallet.