- Install NodeJS
$ yarn
$ yarn hardhat run scripts/deploy.js
$ npx hardhat node
In a separate terminal execute:
$ npx hardhat run ./scripts/deploy.js --network localhost
Extra funcitonalities to add to dapp 1)picture 2)multiple elections 3)users will be able to view the length of the election dynamically 4)candidates will have a dashboard 5)candidates receive a certain amount of eth per vote