Web3 Native Modules for React Native.
Using npm:
npm install --save web3-react-nativeUsing yarn:
yarn add web3-react-nativeFor versions less than React Native 0.60, be sure to execute react-native link to make the native library dependencies visible to your compiled application.
After installing, append the following lines to your app's ios/Podfile, then execute pod install:
# web3-react-native
pod 'secp256k1.c', '0.1.2', :modular_headers => true
pod 'web3swift', '2.2.1', :modular_headers => true
⚠️ This is a current workaround for defintion constraints in the Podspec. This requirement will be removed in future revisions.
Perform a rebuild of your compiled application by calling react-native run-android.
For usage details, please see the documentation.
If you want to help keep this project alive, please consider making a donation of ETH to the following address: