0% found this document useful (0 votes)
18 views

BlochchainReport 1

Be mini project of Blockchain technology

Uploaded by

nikita nikam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

BlochchainReport 1

Be mini project of Blockchain technology

Uploaded by

nikita nikam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

A MINI PROJECT REPORT ON

“E-voting System Based on Block-chain”


SUBMITTED TO THE SAVITRIBAI PHULE PUNE
UNIVERSITY, PUNE
IN THE PARTIAL FULFILLMENT OF THE REQUIREMENTS
FOR THE ACADEMIC
OF
FINAL YEAR OF COMPUTER ENGINEERING

SUBMITTED BY

NIKITA NIKAM Roll No: 33


DEVENDRA GANGURDE Roll No: 17

DEPARTMENT OF COMPUTER ENGINEERING

SANGHAVI COLLEGE OF ENGINEERING, NASHIK


SAVITRIBAI PHULE PUNE UNIVERSITY
2024 -2025

CERTIFICATE

Department of Computer Engineering


SANGHAVI COLLEGE OF ENGINEERING, NASHIK

This is to certify that……………………………………………………………………………………………………………..


………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
has successfully completed his/her project work on ………………………………………………………….
………………………………………………………………………………… at SANGHAVI college of Engineering,
Nashik in partial fulfilment of under Graduate course B.E Computer in academic year 2024-
25 as prescribed by Savitribai Phule Pune University.

Prof.Deepali Pingale Prof.Pushpendu Biswas Prof.Dr.S.S.Shirole

Project Guide Head of Department Principal

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.

Project members name: Roll NO:


NIKITA NIKAM 33
DEVENDRA GANGURDE 17
Abstract
Increasingly digital technology in the present helped many people lives. Unlike the electoral
system, there are many conventional uses of paper in its implementation. The aspect of security
and transparency is a threat from still widespread election with the conventional system (offline).
General elections still use a centralized system, there is one organization that manages it. Some
of the problems that can occur in traditional electoral systems is with an organization that has
full control over the database and system, it is possible to tamper with the database of
considerable opportunities. Blockchain technology is one of solutions, because it embraces a
decentralized system and the entire database are owned by many users. Blockchain itself has
been used in the Bitcoin system known as the decentralized Bank system. By adopting
blockchain in the distribution of databases on e-voting systems can reduce one of the cheating
sources of database manipulation. This research discusses the recording of voting result using
blockchain algorithm from every place of election. Unlike Bitcoin with its Proof of Work, this
thesis proposed a method based on a predetermined turn on the system for each node in the built
of blockchain.

Keywords: Blockchain, Ethereum, Smart contracts, E-voting, Solidity .


Table of Content
Sr. No
TITLE PAGE NO.
1. INTRODUCTION 6

2. PROBLEM STATEMENT 7

8
3. LITERATURE REVIEW

CONCEPTUAL DESIGN USING ER FEATURE 9


4.

SOFTWARE REQUIREMENTS SPECIFICATION 10


5.
PROPOSED SYSTEM
6. 11

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.

Department of Computer Engineering, MCOERC 6


Decentralized E-voting System

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.

Department of Computer Engineering, MCOERC 7


Decentralized E-voting System

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.

Department of Computer Engineering, MCOERC 8


Decentralized E-voting System

4. Conceptual Design Using ER Diagram:

Figure . ER Diagram For E-voting System

Department of Computer Engineering, MCOERC 9


Decentralized E-voting System

5. Software Requirements Specification

Hardware Requirements:

• Windows Xp and upwards operating system


• Web Browser (internet explorer recommended)

• 64-bit hardware/ machine


• Hard Disk : 20GB NMP dependencies

Software Requirements:

• Microsoft Visual Basic 6.0

• Ganache

• CSS NPM (Node Package Manager)

• Metamask

• Truffle framework

• HTML, JavaScript.

Department of Computer Engineering, MCOERC 10


Decentralized E-voting System

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

Department of Computer Engineering, MCOERC 11


Decentralized E-voting System

8. STRUCTURE OF PROJECT

Figure :Flow model of the E-voting system based onblockchain

Department of Computer Engineering, MCOERC 12


Decentralized E-voting System

9. RESULT

Figure : Snapshot of Loading Screen

Figure :E-voting System Screen

Department of Computer Engineering, MCOERC 13


Decentralized E-voting System

Truffle Framework:

NPM Directory

Department of Computer Engineering, MCOERC 14


9. Conclusion

The recent development in the area of voting system includesBlockchain technology,


which not only proved to be time and cost efficient but is also safe and secure, hence is
more reliable and precise than the earlier approaches. In this paperwe have used
blockchain based e- voting using smart contract which includes a set of rules governing
the communication and decision on the contract between parties.Various tools like
Ganache, Truffle framework, NPM and metamask were used for implementation purpose.
As blockchain technology is decentralized due to which tempering and alteration in such
system is quite attainable. Our proposed system provides convenience to the voters by
allowing them to connect to the system having easy-to-use user interface, through which
they can cast their vote by importing their account and can easily review their vote. It
creates a sense of trust among voters, that there vote is beingcomputed and kept in a safe
custody.

Department of Computer Engineering, MCOERC 15


Decentralized E-voting System

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

• Neumann S, Volkamer M, Jurlind B, Prandrini M (2016) Secivo: a quantitative security


assessment

• Budurushi J, Renaud K, Volkamer M, Woide M (2016) An investigation into the usability of


electronic voting systems for complex elections.Annals of Telecommunications.

• 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

You might also like