This is a Voting Dapp built in the ChainShot Zero to Blockchain Curriculum.
There are four top-level folders:
/app
- contains the front-end application/contracts
- contains the solidity contract/tests
- tests for the solidity contract/scripts
- contains Buidler contract scripts
Install dependencies with npm install
.
There are three npm scripts:
npm run test
- tests contracts in/contracts
with the tests in/tests
npm run start
- runs deploy and starts the front-end applicationnpm run deploy
- compiles the Voting and deploys it, storing an artifact and address information in/app
This application using Parcel to bundle assets and run.
It uses Buidler to compile and test solidity contracts.