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.
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 DirectSecp256k1HdWalletOptions
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 DirectSecp256k1HdWalletOptions
object optionally containing a bip39Password, hdPaths, and prefix.
Generated using TypeDoc
A wallet for protobuf based signing using SIGN_MODE_DIRECT