In recent years, With the rapid development of blockchain technol- ogy, there has been an increased interest in solving various opera- tional challenges. For the e-voting system at present, voter’s privacy, immutability of votes and third party dependency are major issues. These issues can very well be solved by blockchain technology. In this paper, we have proposed a decentralized framework for e-voting based on blockchain technology that contributes significantly to the implementation paradigm. We have implemented it on the Ethereum platform and developed a fully functional smart contract to store and validate votes. The research provides deep insight into the design of smart contract transactions in an e-voting system from a computa- tional cost perspective. In order to authenticate the voters, We have done voter verification in two phases. In the first phase, the voter reg- isters through a secure code, whose(code) Keccak-256 hash is stored on the blockchain, and in the second phase, the voter is verified by the managing authority. Based on the literature review, we found a lack of standardization for blockchain-based e-voting systems. So we have tried to fill this gap of standardization. In addition, we have also inspectedour model against various security attacks and found that our model is robust against double-spend attack, re-entrancy attack, DDoS etc.