Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 939 Bytes

readme.md

File metadata and controls

26 lines (16 loc) · 939 Bytes

Decentralized Voting Application

This is a Voting Dapp built in the ChainShot Zero to Blockchain Curriculum.

Project Layout

There are four top-level folders:

  1. /app - contains the front-end application
  2. /contracts - contains the solidity contract
  3. /tests - tests for the solidity contract
  4. /scripts - contains Buidler contract scripts

Setup

Install dependencies with npm install.

There are three npm scripts:

  1. npm run test - tests contracts in /contracts with the tests in /tests
  2. npm run start - runs deploy and starts the front-end application
  3. npm 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.