Skip to content

Anshul758/Ethereum_Evoting

Repository files navigation

Ethereum_Evoting

Smart Contract based voting system which let voters elect candidates in an election. This is the upcoming way of casting vote where all votes will be stored in the blockchain, which makes the system tamper proof and fully transparent. Voting tokens are issued to everybody who is eligible to vote and let them vote. Technology Stack - Solidity, Truffle, Ganache, NodeJs, Bootstrap.

How to use our application

  1. Install MetaMask browser extension.
  2. Make sure that the Ethereum account which you've been assigned is imported into MetaMask.
  3. Visit cast vote page and caste your vote.

How to use in your local machine

  1. Install truffle npm install -g truffle

  2. Install Ganache and metamask from web browser after installing set it up.

  3. Clone the gitHub repository git clone "https://github.com/Anshul758/Ethereum_Evoting"

  4. Now open the project in your vs code and open ganache also side by side

  5. Now open terminal in your vs code and run this command truffle migrate --reset (this command will upload the smart contract from your local ethereum network to blockchain.

  6. Finally run npm run dev command and you're good to go.

Steps to cast vote:-

first of all, set up a truffle and link the network with your metamask.

image

List of candidates you can choose anyone to vote

image

click on vote and it will open metamask to generate vote.

image

It will show "You've already voted" after successful casting.

image

Finally it will generate a QR code with proper feedback.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages