chore: MMConnect Configuration Improvements#91
Merged
Conversation
ffmcgee725
approved these changes
Nov 27, 2025
ffmcgee725
approved these changes
Nov 27, 2025
wenfix
approved these changes
Nov 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes improvements to MM Connect configurability and testabilty
['eip155:1'].disabledattribute so scopes can be selected before connecting.MetaMaskConnectProvider.This enables users to select desired scopes via checkboxes before auto-connecting via MMConnect, improving the test dapp's flexibility for multi-chain testing.
Note
Enables scope-selectable MM Connect auto-connect, configures supported networks, and adds a session disconnect button.
MM_CONNECT_IDnow passes selected scopes from checkboxes/custom inputs.SDK.setExtensionIdAndConnectaccepts optionalscopes: CaipChainId[]and forwards to provider for MM Connect.useSDK.connectsignature updated to accept optional scopes and propagate to SDK.connect(scopes?: Scope[])accepts scopes; defaults to['eip155:1']when none provided.supportedNetworksRPC URLs for featured chains (Ethereum, Linea, Arbitrum, Avalanche, BNB, OP, Polygon, zkSync, Base, Localhost, Solana).Written by Cursor Bugbot for commit 243190e. This will update automatically on new commits. Configure here.