Block Chain in E-Voting
Block Chain in E-Voting
CONSULTANCY REPORT
By
1
CONTENTS
1. INTRODUCTION
1.1 Problem Statement
1.2 Aim of the Project
1.3 Existing System
1.4 Proposed System
3.SYSTEM DESIGN
•High Level Design
•Low Level Design
3.1 System Architecture
3.2 Use Case Diagram
3.3 Activity Diagram
3.4 Datasets
4. SYSTEM IMPLEMENTATION
4.1 Modules Description
2
1. INTRODUTION
4
1.2 PROPOSED SYSTEM
5
2. REQUIREMENTS SPECIFICATIONS
6
owner's digital signature, which authenticates the transaction and prevents it from
being tampered with.
As a result, the information contained in the digital ledger is extremely safe. In a
nutshell, the digital ledger is similar to a Google spreadsheet shared across
several computers on a network, where transactional data are recorded
based on real purchases. The intriguing aspect is that everyone can view the
data, but they cannot modify it.
Navicat is responsible for MySQL database administration and development.
This software front-end provides an intuitive and powerful graphical interface
for database management. This is where the datasets and data is feeded to the
blockchain is stored. It also is the one stop place for referring to any doubts
or information needed by the users.
Netbeans IDE is a free and open-source integrated development for
application development on windows, mac, linux, and solaris operating
systems. The IDE simplifies the development of web, enterprise, desktop,
and mobile applications that use the java and html5 platforms.
The jupyter notebook is a server-client application that allows editing and
running notebooks documents via a web browser. The jupyter notebook app
can be executed on a local desktop or can be installed on a remote server and
accessed through the internet.
7
Java It is a phase free programming lingo that extends its
parts wide over the framework. Java2
interpretation introduces another parts than are
possible with AWT
8
3.SYSTEM DESIGN
High Level Design
A high-level concept for blockchain in e-voting would entail utilising
blockchain technology's transparency, immutability, and security to establish
a decentralised and tamper-proof system for recording and counting votes. The
user interface would make it simple and intuitive for people to vote. This might
be done using a web-based portal or a mobile application.To ensure that only
qualified voters may vote, the e-voting system would need voter verification.
This might be accomplished through the use of standard authentication
techniques such as login and password, as well as more modern methods such
as biometric authentication. The rules of the election and the management of
votes would be governed by smart contracts. These contracts would be
configured to automatically validate votes and ensure they met election
standards. The votes would be recorded and stored in an immutable and
transparent manner using a blockchain network. The blockchain would be
decentralised, with nodes across the network maintaining copies of the ledger.
The e-voting method would allow voters to confirm that their vote was
correctly recorded. Algorithms would also be used in the system to
automatically count votes and decide election outcomes. The e-voting system
would be built with security in mind, preventing hacking, manipulation, and
other forms of interference. Encryption, digital signatures, and access limits
are examples of such methods.
9
3.1 SYSTEM ARCHITECTURE
System architecture describes about each component of system. The modules
in this project are shown below:
10
information could not be recovered.
Adding the vote to the Blockchain: Following the creation of a block, and
based on the candidate chosen, the information is recorded in the related
blockchain. Each block is associated with the preceding vote.
3.2 USE CASE DIAGRAM
11
3.3 ACTIVITY DIAGRAM
3.4 DATASETS
13
4. IMPLEMENTATION
4.1 MODULES
Module1(Voter UI):
An application where the voter can cast their votes and see the results after
the election periods. This is a secure voting app that provides convenience
to the users allowing for online e voting.
Module 2(Transaction ID, stamp):
Each vote has a address id tag which is sent to the blockchain. The block
stores this tag along with the blocks address for security. The hashmap then
adds this new block to its map.
Module 3(Broadcasting):
The blockchain makes a copy of itself and is then sent to every user such
that each user knows when and what happens if any changes is made to the
blockchain transactions. Each nodes are connected to the hashmap.
Module 4(Addition of vote to the chain):
The voters upon casting their votes, this transaction vote is added to the
blockchain and is stored separately.
Module 5(Voter UI changes):
This final module will consist of the user seeing the result of the election for a
certain period of time. This is shown along with the votes count and the party
that has won.
14
5. RESULT AND ANALYSIS
Fig 6.1 Screenshot of the android app Fig 6.2: Screenshot of the android app
for the voter. with fingerprint for security.
15
Fig 6.3: Homepage of admin side webpage to manage e-voting
16
Fig 6.6: Voter Registration page
17
6. CONCLUSION AND FUTURE WORK
18