auralshin / ReactNative-Dapp

To be able to build a Decentralised application over React Native, feel free to contribute. It's open for Hacktoberfest 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building React Native app using drizzle

Packages Required

- truffle
- ganache-cli
- react-native
- react
- @drizzle/store

Project Structure

 ├── android
 ├── contracts
 ├── ios
 ├── migrations
 ├── gitignore
 ├── test
 ├── App.js
 ├── app.json
 ├── index.js
 ├── shims.js
 ├── global.js
 ├── rn-cli.config.js
 ├── package.json
 ├── truffle-config.js
 ├── truffle.js
 └── yarn.lock

Steps to follow

- run npm install or yarn install
- install truffle and ganache-cli
- set ANDROID_HOME in path properly
- Start ganache-cli: ganache-cli -b 3
- Compile and migrate contracts: truffle compile && truffle migrate
- Reverse ports: adb reverse tcp:8545 tcp:8545
- react-native start
- Install app: react-native run-android ( on different terminal )

About

To be able to build a Decentralised application over React Native, feel free to contribute. It's open for Hacktoberfest 2020


Languages

Language:JavaScript 49.5%Language:Java 22.6%Language:Objective-C 16.1%Language:Starlark 7.0%Language:Ruby 2.7%Language:Solidity 2.0%