MetaMask / MetaMask/metamask-extension

Improve how we handle wallet_addEthereumChain with same chainID but different rpc urls

Open
#15,909 4 comments 0 reactions 0 assignees View on GitHub
area-customNetworks needs-decision needs-design team-assets team-extension-platform type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Context: https://github.com/MetaMask/metamask-extension/issues/15840

We should better communicate to users that the dapp is proposing to add a network they already have, but with a different rpc url and give users the choice to switch to the network they already have or adding it as a new custom network with the new rpc url - or maybe even replacing the current rpc url.
This ticket needs more definition and design before it's ready for development.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked issue 15840 and reviewing the existing wallet_addEthereumChain flow. Define the user experience and design for choosing between switching to the existing network, adding a custom network with the new RPC URL, or replacing the current RPC URL before development begins.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.