Skip to content
forked from Tinh96nb/DApp

Simple project Document manager with blockchain ethereum. Using truffle - solidity - reactjs webpack - IPFS.

Notifications You must be signed in to change notification settings

phamthainb/DApp

 
 

Repository files navigation

SmartContract - Solidity - Truflle - React - IPFS

Setup to run project

  • Before that, let's install Docker, Docker-compose
  • Setup MetaMask extension for browser, then create a account and a customRpc listen to port truffle 8545.

Setting ENVIRONMENT_VARS

$ cp .env.example .env
$ vim .env
# rewrite your env vars
  • final run command to start:
$ ./init.sh
$ cd client
# rewrite your env vars then
$ yarn install
$ yarn start

Struct folder

  • /ethereum: smartcontract.
  • /test: run test smartcontract.
  • /server: nodejs connect to smartcontract.
  • /migrations: init database.
  • /view: front-end reactjs.

About

Simple project Document manager with blockchain ethereum. Using truffle - solidity - reactjs webpack - IPFS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.4%
  • Solidity 3.4%
  • CSS 3.2%
  • Other 1.0%