This is a modification of the expo-walletconnect-demo project.
The original project was designed to demonstrate adding the WalletConnect protocol to an Expo app.
In addition to WalletConnect, this project demonstrates adding Web3 support.
The additional changes include the following:
- Adding
node-libs-browser
within metro.config.js - Adding
web3
as a dependency - Adding
ignoreLogs
to global.ts to hide some warnings from using web3
Without ejecting, we're able to connect an Expo app to MetaMask via WalletConnect.
- Polyfilling NodeJS libraries within metro.config.js
- Creating and updating global.ts
- clone repo
- yarn install
- expo start
- scan QR code