Closed karmabadger closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/engineerdao/platform/6BxfMjuHWFenjNwkABecCLEX1Cvp
✅ Preview: https://platform-git-feat-add-chain-engineerdao.vercel.app
[Deployment for 494a04c failed]
🔍 Inspect: https://vercel.com/engineerdao/backend/Yh6mDWnKmqyU4znyuJkFe8Pw7qLN
✅ Preview: https://backend-git-feat-add-chain-engineerdao.vercel.app
a few changes/additions to .env would be required. Please check .env.example, Though, the icon urls isn't required.
This either adds the network to the wallet if it's not added or switches to it if it's already added. See pictures for more detail.
The button has not been styled since I have no idea how the styling works with tailwind CSS and how to contribute on that end. If someone could help on that front, it would be greatly appreciated. Thank you
Hey @catmaxi ! Any questions or pushback here? I'd love to see this get merged in - you did great work!
Closing this for now since this branch is too out-of-date.
This adds a few functions to frontend/src/utils/metamask.ts so to add and switch chains using pop ups.