This project is structured by two parts:
- contract:
- Written by Solidity
- Run RPC server on local by
ganache
- Compiled by
solc.js
- Deployed by
web3.js
on your local Ethereum blockchain
# install dependencies and run RPC server locally
cd contract
npm install -g ganache
npm install
ganache
# compile and deploy contract
cd contract
node web3.js
- web
- Bootstrapped with
Create React App
- UI library:
Ant Design
- Copy ABI json file from:
contract/compiledCode.json
# install dependencies and run web app
cd web
npm install
npm run start