ETH4fun is a demo powered by Ethereum State-channel. ETH4fun includes an Ethereum digital currency wallet with open&close channel and splice in&out besides basic wallet functions.
A simple dice game with auto mining operated on Rinkeby test net is also included to let you try our demo with a better experience.
Have some fun on our layer2-based, fast, easy, and secure dice game!
Step 1: git clone https://github.com/litexio/dice2win_rn_sc.git
Step 2: npm install
Step 3: react-native link
Step 4: cd ios && pod install && cd ..
- cd to the repo
- Run Build for either OS
- for iOS
- run
npm run bundle:ios
- run
react-native run-ios
- or
npm start ipx
- run
- for Android (真机调试)
- 001:
adb reverse tcp:8081 tcp:8081
- 002: Android Studio
▶️
- 001:
Step 1
cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../
Step 2
cd node_modules/react-native/third-party/glog-0.3.4/ && ../../scripts/ios-configure-glog.sh && cd ../../../../
Step 3
cp ios/build/Build/Products/Debug-iphonesimulator/libfishhook.a node_modules/react-native/Libraries/WebSocket/