BlochchainReport 1
BlochchainReport 1
SUBMITTED BY
CERTIFICATE
Place: Nashik
Date: / / 2024
Acknowledgements
With deep sense of gratitude, we would like to thank all the people who have lit our path with
their kind guidance. We are very grateful to these intellectuals who did their best to help during
our project work.
It is our proud privilege to express a deep sense of gratitude to Prof.Dr.S.S.Shirole,
Principal of Sanghavi College of Engineering Nashik, for his comments and kind permission to
complete this project. We remain indebted to Prof.Pushpendu Biswas, Vice- Principal &
H.O.D. Computer Engineering Department for his timely suggestion and valuable guidance.
The special gratitude goes to Prof.Deepali Pingle for her excellent and precious guidance
in completion of this work. We thanks to all the colleagues for their appreciable help for our
working project. With various industry owners or lab technicians to help, it has been our
endeavor throughout our work to cover the entire project work.
We are also thankful to our parents who provided their wishful support for our project
completion successfully. And lastly, we thank our all friends and the people who are directly or
indirectly related to our project work.
2. PROBLEM STATEMENT 7
8
3. LITERATURE REVIEW
STRUCTURE OF PROJECT 12
7.
8. RESULT
13
9. CONCLUSION 15
Decentralized E-voting System
1. Introduction
E-voting is widely used in society life. But it is not obvious how to ensure the outcome is
respected when the decision is financially or politically related. The correctness, security and
privacy are always the most important characters. Secure e-voting is a kind of secure multi-party
computation. In the voting process, a set of people make their choices and the choices of them
could be kept secretly. Most of the e-voting schemes need a trusted public bulletin board to
provide a consistent view to all voters. However, it is not clearly for election administrator to
show the public bulletin board can be completely trusted. Some people realize blockchain can
be used as the bulletin board because the content is publicly trusted.Blockchain served as a
decentralized database provides new tools for creating trustless and decentralized system. In the
blockchain system, there is no trusted centralized coordinator. Instead, each node that is involved
in the blockchain system holds the data block locally. Blockchain is maintained by a
decentralized and open-membership peer to peer network. At first, this technology is designed
for money transfer. With the development of it, researchers are trying to reuse Blockchain in
other research areas such as coordinating the Internet of Things, carbon dating and health-care.
This sparked the invention of Ethereum , which is well known as a milestone in the development
of blockchain. It owns a Turing complete programming language and users can realize the
function by the smart contract in the Ethereum network.
2. Problem Statement
To Develop decentralized blockchain-based e-voting system using private Ethereum with less
or no delay considering common voting problems like vote tampering, standing in queues, and
booth capturing. Smart Contact (using solidity) along with voters' national identity or One Time
Password (OTP) is used to validate voters, check eligibility, and to restrict multiple votes. At
the voting time, users have to log in with the same data used in registration, upon logging in he
would require submit voter’s fingerprint data.
3. Literature Review
There are various different strategies for authentication of voters. According to Kriti Patidar and
Dr jain voters authentication can be done using private key cryptography that has to be provided
to voters prior to election process. Voters should be registered by some authority, while
registering the voters keys must be generated and distributes to voters in hand . Cosmas Krisna
Adiputra, has same idea for system design he also suggests that there must be an public, private
key infrastructure, the electoral commission (or another election manager) generates a key-pair
for the election (PE; SE) which later is used for encrypting and decrypting messages of voters.
Then, each voter needs to generate their own key-pair. (PV X; SV X) denote the key pair of
voter X. This key pair is later used for signing the message created by the voter herself. Voters
need to register their public key PV X to the electoral commission for their voting eligibility
using a designated valid ID. The electoral commission then verifies each voter’s ID and registers
the corresponding public key PV X to a public list; or rejects it if the voter is not eligible. It is
crucial that each voter keeps their public key secret in this scheme and only sends it to the
governing body.
Hardware Requirements:
Software Requirements:
• Ganache
• Metamask
• Truffle framework
• HTML, JavaScript.
7. Proposed System
The proposed system utilizes several tools namely ganache, truffle framework, npm and
metamask. Truffle imports the smart contracts on the blockchain while as ganache operates the
internal blockchain and it will be accessed by using metamask. With some Ether i.e. Ethereum’s
cryptocurrency is required by a user for an account with wallet address. To write the transaction
to blockchain, user needs to pay a certain transaction fee which is called as gas. Once votes are
cast the process is completed by a number of nodes on the network called as minners. These
miners compete with each other to complete the transaction. The miners who succeed in this
transaction is awarded ether paid by users to vote.
It operates in two modes: local mode and global mode. In global mode all node.js application
are affected and in local mode only particular directory of an application gets affected Truffle
framework: Truffle is a powerful tool to work with ethereum smart contracts. It is used for
compilation, deploying and linking of smart contracts, provides testing platform for automated
contracts, manages networks and packages, etc.
Ganache: It was previously known as Testrpc and comes in both forms command line and UI.
A virtual blockchain establishes ten standard Ethereum addreses with all and private key
preloading them with simulated hundred ether each. With ganache there is no mining rather it
automatically confirms every transaction. It is convenient for operating systems like windows,
Linux and mac
Metamask: Metamask is an open source, user friendly tool having a graphical user interface for
doing transactions in ethereum. Ethereal Dapps can run without having a complete ethereum
node running your system browser.
Solidity: Solidity is a high-level language with JavaScript style syntax for contracts. It is a
method for generating EVM machinelevel code and converts it into simple instructions. It has
four value types namely: Boolean, Integer, Address and String but has same operators as that of
JavaScript
8. STRUCTURE OF PROJECT
9. RESULT
Truffle Framework:
NPM Directory
10. References
• https://shermin.net/token-economy-book/
• Zhang, S., Wang, L. & Xiong, H. Int. J. Inf. Secur. (2019) Chaintegrity: blockchain- enabled
large-scal e-voting system with robustness and universal verifiability.
International Journal of Information Security. https://doi.org/10.1007/s10207-019-00465- 8
• Aranha DF, Ribeiro H, Paraense ALO (2016) Crowdsourced integrity verification of election
results. Annals of Telecommunications:1–11. doi:10.1007/s12243-016-0511- 1