D

Decentralized Voting System

A trustless voting system in the comfort of your home.

Created on 28th April 2023

D

Decentralized Voting System

A trustless voting system in the comfort of your home.

The problem Decentralized Voting System solves

  1. It solves issues such as tampering with votes.
  2. It prevents events such as Booth Capturing.
  3. People do not have to leave their homes as they can vote using a website.
  4. More and more people would be able to vote even if they are not present in the city they are allowed to vote from.

Challenges I ran into

The main challenge was how to authenticate voters on-chain. I overcame it by authenticating them off-chain as below:

Voters will go on the website and enter their voterId no. and then OTP will be sent to their attached mobile numbers as per the records maintained by the government of India.
After authentication, the user will be minted with an NFT proving the voter is registered. Authentication according to area wise can be filtered using records maintained.

For voting voters will be again authenticated and they will be signing the tokenId which they were minted and the candidateId to which they want to vote so that it can be authenticated on-chain.

tokenIds or NFTs are keccack256 hash of voterIds so that it cannot be determined by address that which ID it belongs to, which hides voter's identity on-chain.

Tracks Applied (2)

Ethereum Track

The contract can be deployed on Ethereum and Polygon Chain.

Polygon

Ethereum + Polygon Track

The contract can be deployed on Ethereum Chain.

Polygon

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio