eth-keyring-controller
Advanced tools
Changelog
[9.0.0] [DEPRECATED]
init
method (#163).
init
method, it will be called automatically upon construction. It is called with await
, so it can be asynchronous.keyringTypes
with keyringBuilders
(#163).
type
string property set to the keyring type name. See the newly exported keyringBuilderFactory
function for an example. The builder functions must be synchronous; use an init
method for asynchronous initialization steps.KeyringController
is now a named export instead of a default export (#163).@metamask/eth-simple-keyring
from v4 to v5 (#171).
@metamask/eth-simple-keyring
release notes for details on required changes.getKeyringClassForType
method with getKeyringBuilderForType
(#163).@metamask/eth-hd-keyring
to v5 (#177)
@metamask/eth-hd-keyring
release notes for details on required changes.@metamask/eth-sig-util
to v5 (#180)@metamask/browser-passworder
from v4.0.1 to v4.0.2 (#182)bip39
dependency (#179)addAccounts
HD Keyring method (#176)
Changelog
[8.0.1]
createNewVaultAndKeychain
submitPassword
submitEncryptionKey
addNewAccount
removeAccount
Changelog
[8.0.0] [DEPRECATED]
cacheEncryptionKey
.memStore
as encryptionKey
and encryptionSalt
. The salt is used to verify that the key matches the vault being decrypted.cacheEncryptionKey
option is enabled, the encryption key and salt get cached in the memStore
whenever the password is submitted.submitEncryptionKey
.unlockKeyrings
method now accepts additional parameters for the encryption key and salt, though we don't recommend using this method directly.persistAllKeyrings
and createFirstKeyTree
(#154)
createNewVaultAndKeychain
, createNewVaultAndRestore
, and submitPassword
/submitEncryptionKey
.Changelog
[7.0.1]
addNewKeyring
function that was accidentally introduced in v7.0.0 (#136)
Changelog
[7.0.0]
addNewKeyring
method, an options object can no longer be passed containing a numberOfAccounts
property without also including a mnemonic
. Not adding any option argument will result in the generation of a new mnemonic and the addition of 1 account derived from that mnemonic to the keyring.createNewVaultAndKeychain
all keyrings are cleared first thing (#129)