Full-stack Web3 Engineering Assignment
- Node v14.17.1
- Truffle v5.2.6 (core: 5.2.6)
- Solidity - 0.7.5 (solc-js)
- react 17.0.2
- material-ui 4.12.3
- Web3.js 1.5.0
- Rinkeby Test Network
git clone this-project-code
cd /path/to/this/project/folder/
Run command to install package dependencies
yarn install
You should prepare an account which have enough ETH on rinkeby network.
Copy .evn.example to root folder of project and renamed it as .env, you should fill values below:
- RINKEBY_RPC_URL --- The rpc url of rinkeby network.
- RINKEBY_ACCOUNT --- The account used to deploy contracts.
- RINKEBY_MNEMONIC --- The mnemonic, Guide of reveal your Seed Phrase.
You can now compile
yarn compile
Open a new terminal
yarn run-project
Now the dapp is running, and you can interact with it.