GoodDollar / GoodCollective

Monorepo for GoodCollective (Segmented UBI and Direct Payments Pool)
MIT License
3 stars 1 forks source link

Connect wallet button should open web3modal #50

Closed sirpy closed 7 months ago

sirpy commented 9 months ago

Currently only metamask and walletconnect are supported

There are standard solutions for connecting wallets and we should use them. web3modal is already installed and demonstrated in the original code.

krisbitney commented 9 months ago

I was just trying to implement this but there is an issue. The react-native version of Web3Modal doesn't support web, and the ReactJS version doesn't support React Native.

The current solution uses wagmi, which is the basis of Web3Modal. Are there particular wallets you have in mind that you want to support?

krisbitney commented 9 months ago

Is this the code you're referring to that uses Web3Modal? https://github.com/GoodDollar/GoodCollective/blob/web3Integrations/packages/app/src/hooks/useWeb3Modal.tsx

vldkhh commented 7 months ago

verified