Skip to content

sandyabhi/Ethereum-Voting-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Ethereum-Voting-Machine

What it does:

EVM(Ethereum Voting Machine) is a Blockchain Voting Website:

  • ELection Chief verify the voters to make them eligible to vote.
  • Election chief can also add candidates.
  • Verified voters can vote for the candidate they want to vote for. Voters cannot vote twice or change their vote.
  • Any account can check the result and the total voters, voters absent, and total candidates.

Demo:

Voting.sol

  • Click the Own button to make account Chief:

Imgur

  • Chief can add candidate

Imgur

  • Cheif can verify voters

Imgur

  • Voters can vote

Imgur

  • See Result

Imgur

  • I have added extra 2 candidates because of the demo and video.

Tech:

  • I have used Solidity to build the Smart Contract.
  • Hardhat framework to Compile and deploy the smart Contract.
  • Nextjs for the front end .
  • ethersjs library to create the connection between the contract and the web.
  • web3modal to connect the metamask wallet.
  • polygon Mumbai testnet used as Polygon testnet to test
  • Javascript HTML CSS