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

Update code to stop detecting flask #62

Closed
hugomrdias opened this issue Aug 23, 2023 · 0 comments · Fixed by #76, #75 or #77
Closed

Update code to stop detecting flask #62

hugomrdias opened this issue Aug 23, 2023 · 0 comments · Fixed by #76, #75 or #77

Comments

@hugomrdias
Copy link
Collaborator

Hello snap devs! For launch it is very important that you update your dapps to stop detecting MetaMask Flask. Instead, you should detect for the existence of the Snaps API so your dapp is ready to work with the stable release. This will work with Flask and with the stable extension.

We have updated our documentation with a guide on connecting to a snap from your dapp: https://docs.metamask.io/snaps/how-to/work-with-existing-snaps/

However, you may encounter issues when a user is running multiple wallets in the same browser (such as Phantom and Coinbase Wallet). I have published example code for working around these issues here: https://github.com/Montoya/snap-connect-test

Please reach out if you have questions or issues with your dapps.

@hugomrdias hugomrdias changed the title update code to stop detecting flask Update code to stop detecting flask Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment