React Hooks Setup
We write our components in react-native-web so they are compatible with both web and mobile platforms.
We use the following packages for the web3 react experience:
native-base
react-native-web
useDapp
ethers
To use the react hooks SDK (web3sdk-v2 in the mono-repo), you'll need to make sure you have the following installed:
Then, you'll need to create a context provider which is a wrapper around useDapp context provider:
Last updated
Was this helpful?