Skip to content

callstack/web3-cross-platform-dapp

Repository files navigation

web3-cross-platform-dapp

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

demo.gif

Requirements

  • 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)

How to run

  • Rename .env.example to .env and fill in your Wallet Connect Cloud project ID, and Alchemy API key
  • yarn install

Mobile

  • 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

Web

  • yarn web
  • Open http://localhost:19006

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published