MCPcopy Index your code
hub / github.com/cawfree/web3-react-native

github.com/cawfree/web3-react-native @v0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.1 ↗ · + Follow
70 symbols 183 edges 59 files 10 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

web3-react-native

Web3 Native Modules for React Native.

🚀 Getting Started

Using npm:

npm install --save web3-react-native

Using yarn:

yarn add web3-react-native

For 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.

iOS

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 an ugly workaround for existing definition constraints in the Podspec. (View Issue).

Android

In your app's AndroidManifest.xml, you need to enable [android:largeHeap](https://developer.android.com/guide/topics/manifest/application-element) under the <application> tag:

  <application
+   android:largeHeap="true"
  />

Perform a rebuild of your compiled application by calling react-native run-android.

For usage details, please see the documentation.

✌️ License

MIT

Extension points exported contracts — how you extend this code

Setter (Interface)
(no doc) [1 implementers]
android/src/main/java/io/github/cawfree/web3/BundleJSONConverter.java

Core symbols most depended-on inside this repo

onPressSubmit
called by 2
example/src/transaction/containers/MakeTransaction.js
getWallets
called by 2
android/src/main/java/io/github/cawfree/web3/Web3Module.java
sanitizePassword
called by 2
src/index.js
getReactNativeHost
called by 1
example/android/app/src/main/java/com/example/MainApplication.java
initializeFlipper
called by 1
example/android/app/src/main/java/com/example/MainApplication.java
receiveWallet
called by 1
example/src/wallet/actions.js
createWallet
called by 1
example/src/wallet/actions.js
onRequestAddFunds
called by 1
example/src/wallet/containers/Wallet.js

Shape

Function 32
Method 31
Class 6
Interface 1

Languages

Java54%
TypeScript46%

Modules by API surface

android/src/main/java/io/github/cawfree/web3/Web3Module.java13 symbols
android/src/main/java/io/github/cawfree/web3/BundleJSONConverter.java8 symbols
example/android/app/src/main/java/com/example/MainApplication.java7 symbols
src/index.js6 symbols
example/android/app/src/debug/java/com/example/ReactNativeFlipper.java5 symbols
example/src/wallet/containers/Wallet.js4 symbols
example/src/wallet/containers/AddWalletButton.js3 symbols
example/src/transaction/containers/Transaction.js3 symbols
example/src/transaction/containers/MakeTransaction.js3 symbols
android/src/main/java/io/github/cawfree/web3/Web3Package.java3 symbols
example/src/wallet/containers/Wallets.js2 symbols
example/src/wallet/actions.js2 symbols

For agents

$ claude mcp add web3-react-native \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact