MetaMask / MetaMask/metamask-extension

Allow user to choose their own RPC during wallet_switchEthereumChain when there are multiple

Open
#16,714 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-customNetworks area-privacy team-assets
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

[Per tweet](https://twitter.com/intocryptoast/status/1595666184484974592)

- If there are many providers for a chain_id, let the user switch between them.
- Show the most recently selected RPC for that chain_id by default

![image](https://user-images.githubusercontent.com/542863/204357518-91a5eaec-fe9a-4f67-9af2-b71f14664c27.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the wallet_switchEthereumChain flow and the provider-selection UI in the extension. Verify how multiple providers for one chain_id are represented and how the most recently selected RPC is stored. Done means users can choose among providers and the previously selected RPC is shown by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.