Voting is a fundamental democratic activity. Many experts believe that paper balloting is the only appropriate method to ensure everyone’s right to vote. But this method is prone to errors and abuse. Many nations utilize digital voting methods to solve the difficulties of paper balloting. A single flaw in digital voting may lead to massive vote-rigging. Election voting methods must be legal, accurate, safe, and convenient. However, issues with digital voting methods may restrict acceptance. Due to its end-to-end verification capabilities, blockchain technology was developed to address these problems. To guarantee We have used blockchain technology anonymity, privacy, verifiability, mobility, integrity, security, and fairness in voting. By using blockchain our proposed system ensures security, privacy, and integrity. This system provides voter anonymity by keeping the voter information as a hash in the blockchain. It also provides fairness by keeping the casted vote encrypted till the ending time of the election. After ending time, the voter can verify their casted vote, ensuring verifiability. To test our protocol, we put it on Ethereum 2.0, a blockchain platform that uses Solidity as a programming language to create smart contracts. The adoption of smart contracts provides a safe means for performing voter verification, ensuring the correctness of voting results, making the counting system public, and protecting against fraudulent activities. We analyzed the system’s performance based on security and gas costs. It improves in terms of security characteristics and the related cost for the necessary infrastructure.