Decentralized Voting System

The voting system based on Ethereum Network, this ensures that there is no central authority that can control the voting process.

Link of Deployed Contract:

Video of how the voting system works


Snapshots of how the voting system works

Screenshot from 2022-06-01 23-00-34 Screenshot from 2022-06-01 23-00-51

Follow the steps below to download, install, and run this project.

Step 1. Clone the project

git clone

Step 2. Install dependencies

$ cd decentralized-voting-system
$ npm install

Step 3. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.

Step 4. Compile & Deploy Election Smart Contract to local blockchain network

$ truffle migrate --reset
You must migrate the election smart contract each time your restart ganache.

Step 5. Compile & Deploy Election Smart Contract to Rinkeby and other networks

$ truffle migrate --network rinkeby

#For other networks
$ truffle migrate --network <network-name>

Step 6. Run the Front End Application

$ npm run dev

Visit this URL in your browser: http://localhost:3000

If you find this project useful, give star ⭐ this will motivate me to make more and more dApps.


View Github