Skip to content

129.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 19:20
· 2 commits to 0ea72ae8f0d568bcaaddfd545c54f46001c53aa8 since this release
6310277

@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 accountType field, matching private-key:import, since the account type cannot always be detected from the address alone.
    • Includes an optional scopes field, 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.
  • Add address capability to KeyringCapabilities, declaring whether a keyring supports importing watch-only accounts by address (#643)
  • Add KeyringType.WatchOnly keyring type (#644)
  • Add KeyringType.Mpc keyring type (#641)
  • Add KeyringAccountEntropyTypeOption.Mpc ('mpc') entropy option, and the related KeyringAccountEntropyMpcOptions type, 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 Keyring that holds accounts imported by address, without any signing capability.
    • Supports creating accounts via the address:import option, with an optional accountType (defaulting to eip155:eoa) and optional scopes (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 for KeyringController compatibility, adding address-based account removal.
    • Includes synchronous lookupAccount and lookupByAddress methods for AccountsController integration.

Changed

  • Bump @metamask/keyring-api from ^24.1.0 to ^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.