Generates an encrypted serialization of this wallet.
The user provided password used to generate an encryption key via a KDF. This is not normalized internally (see "Unicode normalization" to learn more).
Generates an encrypted serialization of this wallet.
This is an advanced alternative to calling serialize(password)
directly, which allows you to
offload the KDF execution to a non-UI thread (e.g. in a WebWorker).
The caller is responsible for ensuring the key was derived with the given KDF options. If this is not the case, the wallet cannot be restored with the original password.
Request signature from whichever key corresponds to provided bech32-encoded address. Rejects if not enabled.
The signer implementation may offer the user the ability to override parts of the signDoc. It must return the doc that was signed in the response.
Restores a wallet from an encrypted serialization.
The user provided password used to generate an encryption key via a KDF. This is not normalized internally (see "Unicode normalization" to learn more).
Restores a wallet from an encrypted serialization.
This is an advanced alternative to calling deserialize(serialization, password)
directly, which allows
you to offload the KDF execution to a non-UI thread (e.g. in a WebWorker).
The caller is responsible for ensuring the key was derived with the given KDF configuration. This can be
done using extractKdfConfiguration(serialization)
and executeKdf(password, kdfConfiguration)
from this package.
Restores a wallet from the given BIP39 mnemonic.
Any valid English mnemonic.
An optional Secp256k1HdWalletOptions
object optionally containing a bip39Password, hdPaths, and prefix.
Generates a new wallet with a BIP39 mnemonic of the given length.
The number of words in the mnemonic (12, 15, 18, 21 or 24).
An optional Secp256k1HdWalletOptions
object optionally containing a bip39Password, hdPaths, and prefix.
Generated using TypeDoc
Get AccountData array from wallet. Rejects if not enabled.