Skip to content

ETH4fun is a demo powered by Ethereum State-channel.

Notifications You must be signed in to change notification settings

LitexGit/dice2win_rn_sc

Repository files navigation

Dice2Win

js-standard-style

    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!

⬇️ Setup

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

▶️ Run App

  1. cd to the repo
  2. Run Build for either OS
  • for iOS
    • run npm run bundle:ios
    • run react-native run-ios
    • or npm start ipx
  • for Android (真机调试)
    • 001: adb reverse tcp:8081 tcp:8081
    • 002: Android Studio ▶️

🔐 Secrets

xcode 10 third-party相关错误解决方案

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/

🚰 Rinkeby Authenticated Faucet

Faucet

📡 Link

React Native中文网

Redux 中文文档

Ignite CLI

About

ETH4fun is a demo powered by Ethereum State-channel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published