Skip to content

refactor(account-api)!: remove multichain account implementations#333

Merged
ccharly merged 5 commits into
mainfrom
feat/move-multichain-account-impl
Jul 30, 2025
Merged

refactor(account-api)!: remove multichain account implementations#333
ccharly merged 5 commits into
mainfrom
feat/move-multichain-account-impl

Conversation

@ccharly

@ccharly ccharly commented Jul 30, 2025

Copy link
Copy Markdown
Contributor

Removing the current multichain implementation and move it to the MultichainAccountService.

We still keep some type definitions, so we can re-use them without having to depend on the service itself.

Lastly, the naming convention used for "multichain accounts" was a bit off compared to AccountGroup, so the name has been updated from MultichainAccount* to MultichainAccountGroup*.

@ccharly

ccharly commented Jul 30, 2025

Copy link
Copy Markdown
Contributor Author

@metamaskbot publish-preview

@github-actions

Copy link
Copy Markdown

Preview builds have been published. See these instructions (from the core monorepo) for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/account-api": "0.5.0-0e28ac0",
  "@metamask-previews/keyring-api": "19.1.0-0e28ac0",
  "@metamask-previews/eth-hd-keyring": "12.1.0-0e28ac0",
  "@metamask-previews/eth-ledger-bridge-keyring": "11.1.2-0e28ac0",
  "@metamask-previews/eth-simple-keyring": "10.0.0-0e28ac0",
  "@metamask-previews/eth-trezor-keyring": "9.0.0-0e28ac0",
  "@metamask-previews/keyring-internal-api": "7.1.0-0e28ac0",
  "@metamask-previews/keyring-internal-snap-client": "5.0.0-0e28ac0",
  "@metamask-previews/eth-snap-keyring": "15.0.0-0e28ac0",
  "@metamask-previews/keyring-snap-client": "6.0.0-0e28ac0",
  "@metamask-previews/keyring-snap-sdk": "5.0.0-0e28ac0",
  "@metamask-previews/keyring-utils": "3.1.0-0e28ac0"
}

@ccharly ccharly marked this pull request as ready for review July 30, 2025 21:16
@ccharly ccharly requested a review from a team as a code owner July 30, 2025 21:16
@ccharly ccharly added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit a337812 Jul 30, 2025
33 checks passed
@ccharly ccharly deleted the feat/move-multichain-account-impl branch July 30, 2025 21:36
ccharly added a commit to MetaMask/core that referenced this pull request Jul 31, 2025
…,Group}` implementations (#6216)

## Explanation

Moving the implementations out of `@metamask/account-api` to have them
closer to the service (which makes more sense too).

Beware, `MultichainAccount` has been renamed to `MultichainAccountGroup`
to emphasis more on the the "group" aspect of multichain accounts.

## References

- MetaMask/accounts#333

## Changelog

N/A

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants