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
Able to connect to a non-supported chain on metamask on a reconnect to app.shapeshift.com. #1843
Comments
Nice catch!
This one is a bit tricky as we start supporting more EVM chains, our definition of a "wrong network" might change IMO we could iterate on the logic added in #1732 to either:
IMO, 3. would probably be the best option. It's a UX that users are expected to see across DApps, and is also going to make the most sense as we start supporting other EVM chains (we would interact with x contract on y chain). |
@reallybeard could you please check on this and provide input thanks! |
@reallybeard / @DiggyDiggy2 - hoping to get your input on how products want to handle this ticket. Gomes provided some options to fix this above. Thanks! |
Option #3 is definitely the best way to handle. |
@0xean / @gomesalexandre would this be a good candidate for a bounty? |
The web part can be, but there is groundwork that should be done by core engineering first IMO, at the very least in hdwallet. The high-level idea is we would need 3 PRs for that:
We don't have any method in hdwallet to check for the current We will probably need to have a similar hdwallet implementation to get the actual MetaMask @pastaghost Thoughts? |
GM @pastaghost @gomesalexandre @0xean any movement on this ticket? Should we be putting it up bounty? |
Overview
After successfully connecting to app.shapeshift.com with metamask, if you close the site and change the network that metamask is connected to an unsupported network when reconnecting to the app.shapeshift.com, there is no warning/alert that you are using an unsupported network.
References and additional details
reproduction steps.
Acceptance Criteria
Proper handling of this would likely check the network again after returning to app.shapeshift.com to ensure a supported network is currently connected. Or at least check the network metamask is connected to before allowing any sort of transaction.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response
The text was updated successfully, but these errors were encountered: