Synopsis :
Internet Voting has been debated for years. Since the invention of blockchain, the feature of immutability makes the absolute security of internet voting possible. Ethereum provide a platform based on the blockchain for decentralized applications such as voting system.
Although our application(or smart contract) is a decentralized one, we still need an administrator(in the Ethereum platform called “the owner of the contracts i.e. BlockAdmin”) who cannot manipulate any ongoing election, but can initiate one and set the condition for the end of the election. More importantly, this administrator can find out the winning candidate and Also find out the total number of Votes cast during the Election.
Another role is the voter, i.e. the user of our Blockchain Contract, Before every vote, the voter needs to be verified by information in order to get the status of “verified”. Only a verified and voted vote will be valid. The voter can not vote Twice. This has been checked under the verification process.
Key Requirements
- Struct.
- Enum.
- Mapping.
- Dynamic Array.
- Functions
- Modifier
- Contract