Closed asgeir-s closed 2 years ago
If we are going to request to add a chain to the user's wallet, we need to decide on a rpcUrls
, chainName
, blockExplorerUrls
, etc., for each network.
@auryn-macmillan: should we just take the top RPCs (and other information) for each network from https://chainlist.org
, or do you have a preference?
Yes, I think using chainlist as a source of truth sounds like a very reasonable solution.
Instead of asking the user to change the network (chain), we can ask the wallet software to change the chain.
Separated from #56 into this issue.
Notes
Implementation
wallet_switchEthereumChain
wallet_addEthereumChain
Tasks