Repository navigation
129.0.0
·
2 commits
to 0ea72ae8f0d568bcaaddfd545c54f46001c53aa8
since this release
@metamask/keyring-api 24.2.0
Added
- Add
AccountCreationType.AddressImport(address:import) create account option for importing watch-only accounts by address (#643)- Includes an optional
accountTypefield, matchingprivate-key:import, since the account type cannot always be detected from the address alone. - Includes an optional
scopesfield, since the scope cannot always be detected from the address alone (e.g. an EVM address is valid on every EVM chain). When omitted, the keyring decides the scopes.
- Includes an optional
- Add
addresscapability toKeyringCapabilities, declaring whether a keyring supports importing watch-only accounts by address (#643) - Add
KeyringType.WatchOnlykeyring type (#644) - Add
KeyringType.Mpckeyring type (#641) - Add
KeyringAccountEntropyTypeOption.Mpc('mpc') entropy option, and the relatedKeyringAccountEntropyMpcOptionstype, for accounts derived from an MPC key share (#653)
@metamask/watch-only-keyring 0.1.0
Added
- Initial release of
@metamask/watch-only-keyring(#644, #656, #657)- A watch-only v2
Keyringthat holds accounts imported by address, without any signing capability. - Supports creating accounts via the
address:importoption, with an optionalaccountType(defaulting toeip155:eoa) and optionalscopes(defaulting to the keyring's scopes, since the scope cannot always be detected from the address alone). - Includes
WatchOnlyKeyringV1Adapter, which adapts the keyring to the legacy v1 keyring API forKeyringControllercompatibility, adding address-based account removal. - Includes synchronous
lookupAccountandlookupByAddressmethods forAccountsControllerintegration.
- A watch-only v2
Changed
- Bump
@metamask/keyring-apifrom^24.1.0to^24.2.0(#660)
Caution
The release of @metamask/watch-only-keyring did not go through since the dist folder was empty. Git tag got also reverted. The package will be re-released.