chore: enable batched account creation for Solana#41464
Conversation
…or Solana Bumps `@metamask/solana-wallet-snap` from `^2.7.3` to `^2.8.0` and enables `batched: true` in the Solana provider's `createAccounts` config so that `MultichainAccountService` can create multiple Solana accounts in a single request. Updates the corresponding unit test to assert the new batched flag. Made-with: Cursor
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
Builds ready [cf42bec]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [79c7ddc]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
Builds ready [17c44c9]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
Builds ready [619add4]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
@SocketSecurity ignore @metamask/solana-wallet-snap |
|
@SocketSecurity ignore npm/@metamask/solana-wallet-snap@2.8.0 This is our Snap. |
|
Onboarding working with power user seed phrases Screen.Recording.2026-04-07.at.12.06.43.PM.mov |
|
Upgrade path working as expected Screen.Recording.2026-04-07.at.2.29.28.PM.mov |



Description
Bumps
@metamask/solana-wallet-snapfrom^2.7.3to^2.8.0and configures the Solana provider to enable batch account creation.Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1652
Manual testing steps
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes Solana account-creation behavior by enabling batched
createAccountsand bumps the Solana snap dependency, which could affect multichain account provisioning flows. Risk is limited in scope (Solana-only config + test update) but touches onboarding/account sync behavior.Overview
Enables batched account creation for Solana by overriding the Solana
MultichainAccountServiceprovider config to setcreateAccounts.batched: truewhile keeping existing concurrency and timeout settings.Bumps
@metamask/solana-wallet-snapfrom^2.7.3to^2.8.0and updates the init test to assert the new Solana provider config.Reviewed by Cursor Bugbot for commit 619add4. Bugbot is set up for automated code reviews on this repo. Configure here.