- yarn add react-native-crypto react-native-randombytes node-libs-browser base-64 web3
- yarn add -D rn-nodeify@latest
- ./node_modules/.bin/rn-nodeify --hack --install
- Copy metro.config.js from this repository
- Copy shim.js from this repository
- Add import ./shim.js to index.js first line
- cd ios/ && pod install && cd ..
- iOS: Remove GCDAsyncSockcdet.m from references TcpSockets and react-native-udp in Pods => Build Phases => Compile Sources
- Add script to package.json: "postinstall": "./node_modules/.bin/rn-nodeify --install 'crypto,buffer,react-native-randombytes,vm,stream,http,https,os,url,net,fs' --hack"
-
Notifications
You must be signed in to change notification settings - Fork 0
jonatascm/react-native-web3-boilerplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published