This repository showcases how to build a modern cross-platform (web / iOS / Android) dApp with Expo, React Native for Web, wagmi and WalletConnect's Web3Modal
Read the article for a more detailed explanation: Cross-Platform Web3 dApps With React Native
- Expo environment setup (Node.js, Git, Watchman)
- A Wallet Connect Cloud project ID
- An Alchemy API key
- Expo Go app installed in your smartphone
- One or more web3 wallets installed in your smartphone (e.g. MetaMask, Rainbow Wallet, Trust Wallet, etc)
- One or more web3 wallets installed in your browser (e.g. MetaMask, Rainbow Wallet, Trust Wallet, etc)
- Rename
.env.example
to.env
and fill in your Wallet Connect Cloud project ID, and Alchemy API key yarn install
yarn start
- Open Expo Go app in your smartphone
- If your smartphone is in the same network as your computer, the local dev server should appear as the first option. If it doesn't, use the app to scan the QR Code presented in the terminal
yarn web
- Open
http://localhost:19006