Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for missing chain (EIP-3085) #197

Open
edmundedgar opened this issue Mar 31, 2021 · 1 comment
Open

Prompt for missing chain (EIP-3085) #197

edmundedgar opened this issue Mar 31, 2021 · 1 comment

Comments

@edmundedgar
Copy link
Contributor

If the user doesn't have the network specified we should be able to prompt for it:

https://eips.ethereum.org/EIPS/eip-3085
https://docs.metamask.io/guide/rpc-api.html#other-rpc-methods

@edmundedgar
Copy link
Contributor Author

Done in c4585cc

Currently editing the chains.json file from chains.network to add the XDAI logo and block explorer urls, and also tell it not to prompt to switch to mainnet (which metamask refuses) or rinkeby (which only has infura rpc urls, and we don't want everyone installing our infura key in their browsers).

Hopefully we can get a long-term solution to the first issues depending on:
ethereum-lists/chains#202
ethereum-lists/chains#59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant