MetaMask / MetaMask/metamask-extension

Allow users to select between RPC providers for the same chainId (they have added) when prompted to `switchEthereumChain`

Open
#16,800 3 comments 1 reaction 1 assignee Claimed by @adonesky1 View on GitHub
area-api area-privacy needs-design team-assets team-wallet-api-platform-deprecated
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

When users have multiple networks added with the same chainId and they are prompted with the `switchEthereumChain` API call, they are either switched to the preloaded (Infura) RPC provider (in the case of default networks) or the first one added in the case of non-default networks.

The `wallet_SwitchEthereumChain` should provide users the ability to decide which RPC provider they want to be switched to. Perhaps we should even require the user select which of the multiple they have added they want to use before being allowed to proceed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.