The government spends crores of rupees in securing and transporting EVMs and huge amounts of money on resources and security at every poll booth. We, as smart contractors are here with the solution to this problem. A voting system based on blockchain technology is a decentralized and secure way to conduct elections. It uses a distributed ledger to record and verify the votes cast by individuals. It uses smart contracts on blockchain for security and a user-friendly web environment for end-user interaction. Smart Contracts will be made for the voting system. Different contracts will be made for different elections. For example, for the election of the Central Government of India and the State election of Bihar, the contracts will be different.
The contracts will contain the function or modifiers which are responsible for:
Registration: Generating hex address for new user.
Verification: Verifies the identity and whether the user has given his vote or not
Counting: Counts the number of votes given to the particular party.
Declaration of result: Declares the result as soon as the time is over.
The major problem that we faced is the issue we faced of linking our smart contract deployed on the Ethereum blockchain to the front-end user-friendly system. Most of the time was spent on the error faced by us regarding the Metamask wallet. Through thorough mentorship, we have resolved the error and successfully linked our web3 to web2.
Tracks Applied (1)
Replit
Discussion