Practical overview
When it fits
Use it when building a React Native mobile app that needs the project's native Web3 modules and you can handle the platform-specific native setup.
Who it is for
- React Native developers adding Web3 functionality to an iOS or Android application.
- Teams configuring native Web3 dependencies in an existing mobile app.
Documented uses
- Install the library in a React Native project using npm or Yarn.
- Configure the documented iOS CocoaPods dependencies.
- Set the documented Android application manifest option and rebuild the app.
Requirements & limits
- The project provides separate native setup instructions for iOS and Android.
- Its iOS setup pins secp256k1.c 0.1.2 and web3swift 2.2.1 in the Podfile.
- The README describes the iOS Podfile additions as a workaround for podspec definition constraints.
- React Native versions below 0.60 require the documented react-native link step.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Add the library and configure its native dependencies
Set up WEB3 React Native in an existing mobile project using the documented platform-specific configuration.
Before you start
- An existing React Native application.
- npm or Yarn for installing the package.
- For iOS, CocoaPods and the app's ios/Podfile; for Android, access to AndroidManifest.xml and the ability to rebuild the app.
Steps
Install the package with the command below or
yarn add web3-react-native.npm install --save web3-react-nativeFor React Native versions below 0.60, run
react-native linkto expose native library dependencies to the compiled app.For iOS, add
pod 'secp256k1.c', '0.1.2', :modular_headers => trueandpod 'web3swift', '2.2.1', :modular_headers => trueto ios/Podfile, then runpod install.For Android, set
android:largeHeap="true"under the application element in AndroidManifest.xml, then rebuild withreact-native run-android.
Expected outcome
The package is installed and the README's native dependency configuration is applied for the selected platform.
Guide limitations
- The iOS Podfile additions are described by the project as a workaround for existing podspec definition constraints.
- These instructions cover installation and native configuration; they do not provide an application-level usage example.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- cawfree/web3-react-native · Official homepage title · retained in its source language

