In this website the admin can create election, add candidates, start election and end election. Voters get a chance to vote to the candidates when the election has started and view the election results once the admin ends the election.
- Admin can add any number of candidates. Once the election is started, admin cannot add any further candidates.
- Minimum of 2 candidates are required for the election to be started.
- Each voter can vote only once with one address.
- Only admin can view current votes while the election is still on.
- Once the admin ends the election, results will be made public to all.
Login page,
Before election is started,
Adding new candidates,
While voting is still on,
Once the election is ended, the results can be viewed by all,
While voting,
After voting,
Solidity, Hardhat are used to build smart contract.
Quicknode, to deploy the contract through hardhat. React, Next js as frontend services.
Web3Modal to easily allow users to connect to the dApp with all sorts of different wallets like Metamask, Dapper, Gnosis Safe, Frame, Web3 Browsers, etc.