-
Notifications
You must be signed in to change notification settings - Fork 277
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
"Add Custom Network" button for ShimmerEVM #904
Comments
Possible duplicate of #882 or at least related to it |
Status: work in the wiki content but the workflow broke |
For this to work we need to add it to https://github.com/iota-wiki/shared-components so everyone (wiki and external repos) can use it. So maybe for the time being just add it to the shared-components repo. Just a silent ping to @jlvandenhout and @lucas-tortora to share my thoughts with you. But nothing we need to discuss or decide now |
If we expect this decision to take some time, it would be best to label this backlog item as "blocked" until we have added the shared-components repository. @huhn511 as this is your backlog item, could you please take ownership and track the progress and status of this issue? |
Fixed in 18f4dc2. |
Describe the solution you'd like
Add a "Add Custom Network" button or link to add the ShimmerEVM with a single click to MetaMask.
This can be added for example as link in the footer or as a button to all tutorials, which uses the ShimmerEVM.
Example Code:
Here is a code snippet for a button that, when clicked, adds a custom network to MetaMask:
View:
Controller:
Replace the placeholder values in the params object with the details of the network you want to add to MetaMask. When a user clicks the "Add Custom Network to MetaMask" button, this code snippet will attempt to add the specified network to the user's MetaMask extension. If MetaMask is not installed, it will display an alert prompting the user to install MetaMask.
The text was updated successfully, but these errors were encountered: