This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
- owner creates the poll and proposal
- the owner adds voters
- the owner starts the voting
- voters make their votes
- the owner ends the voting process
- the final result is displayed