Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

BCT Project

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

KJ's Educational Institute

KJ COLLEGE OF ENGINEERING AND


MANAGEMENT RESEARCH
Affiliated to Savitribai Phule Pune University (SPPU), Approved by Govt. of
Maharashtra, Recognized by AICTE, New Delhi.

DEPARTMENT OF
COMPUTER
ENGINEERING YEAR 2023-24
Semester – VII

Blockchain Technology
[410243]
BE-B COMPUTER ENGG.

Project Title: “Blockchain based applicationdApp(decentralized app)


for e-voting system”

Done By:
Name Roll No
Aditya Mohite 11

1
KJ COLLEGE OF ENGINEERING
AND MANAGEMENT
RESEARCH

DEPARTMENT OF COMPUTER ENGINEERING

CERTIFICATE
This is certify that the project entitled

“Blockchain based applicationdApp(decentralized app) for e-voting


system”
submitted by

Aditya Mohite B11

is a record of bonafide work carried out by them, in the partial fulfilment of


the requirement for the award of Degree of Bachelor of Engineering
(Computer Engineering) at KJ COLLEGE OF ENGINEERING AND
MANAGEMENT RESEARCH, Pune under the University of Pune. This work
is done during year 2023-2024, under our guidance.

Date: / /

Prof.Komal P Londhave Dr.Nikita Kulkarni

2
ACKNOWLEDGEMENT

I take this opportunity to express my sincere gratitude and respect to KJ COLLEGE OF


ENGINEERING AND MANGEMENT RESEARCH, Pune for providing me a platform
to pursue my studies and carry out my final year project.
I would like to thank Dr. Nikita Kulkarni, Professor and Head, Department of Computer
Engineering, KJ COLLEGE OF ENGINEERING AND MANGEMENT RESEARCH,
Pune who has been a constant support and encouragement throughout the course of this
project.
I consider it a privilege and honor to express my sincere gratitude to my guide
Prof.Komal P Londhave , Associative professor, Department of Computer Engineering,
for the valuable guidance throughout the tenure of this review.
I also extend my thanks to all the faculty of Computer Engineering who directly or
indirectly encouraged me.

3
CONTENTS

Sr. No TITLE Page No

1 Abstract 5

2 Introduction 6

3 Problem Statemen 7

4 Motivation 7

5 Objectives 7

6 Theory 8

7 Code 9

8 Conclusion 14

9 References 15

4
Abstract
The "Blockchain-Based e-Voting System" is a revolutionary decentralized application
(dApp) that aims to transform the traditional voting process by leveraging the power of
blockchain technology. This project addresses critical issues associated with centralized
voting systems, such as security vulnerabilities, lack of transparency, and potential
manipulation. By utilizing blockchain, a transparent and immutable ledger, we ensure
that every vote is recorded accurately, securely, and verifiably. Employ blockchain's
immutable ledger to ensure that once a vote is cast, it remains inviolable, safeguarding
the sanctity of the electoral process.

The application leverages blockchain's immutable ledger to ensure that once a vote is
recorded, it remains unalterable, thereby guaranteeing the integrity and credibility of the
voting process. The blockchain ledger enables real-time tracking and auditing of the
voting process, offering a transparent and verifiable record of all transactions. The dApp
features an intuitive, user-friendly interface to ensure accessibility for a diverse range of
users, regardless of technical proficiency.

5
Introduction
In an era characterized by technological advancements, it's essential to evolve
traditional systems to ensure transparency, security, and accessibility in various
domains. One such domain is the electoral process. The proposed project aims to create
a decentralized application (dApp) for an e-voting system, leveraging blockchain
technology to enhance the integrity of the voting process.

An electronic voting system that fully mimics real-world systems has long been desired.
Until recently, it had not been possible to fully address the mandatory properties of a
realworld voting scheme, simultaneously. Recently, with the onset of new technologies
and research, however, it is not only possible to fulfill these very properties, but also to
improve the anonymity and convenience of voting.

A decentralized and self-tallying electronic voting protocol that substantially enhances


the privacy of voters and diminishes centralization is developed in this work and
presented in this dissertation. These properties are accomplished through a symbiotic
relationship between the Ethereum Blockchain and the Portuguese electronic ID. Unlike
previously proposed Blockchain e-voting protocols, this is the first implementation that
more closely fulfills most of the security requirements of a real-world voting scheme.
Furthermore, this system improves currently in-use e-Voting systems by using a
selftallying protocol. Thus, each voting citizen is able to compute the tally of the
election and has complete control over their own vote. The execution of this protocol is
enforced using the consensus mechanism that safeguards the Ethereum Blockchain. To
prove its feasibility, its implementation was tested on the official Proof of Work (PoW)
test network of Ethereum (known as Ropsten). The financial and computational
breakdowns are on par with the leading Blockchain e-voting protocol.

6
Problem Statement
Develop a Blockchain based application dApp (decentralized app) for e-voting system.

Motivation
The motivation behind developing a Blockchain-based e-voting dApp stems from a
pressing need to address critical challenges in traditional voting systems while
leveraging the transformative potential of blockchain technology.

Objective
The primary objective of this project is to develop a decentralized application (dApp)
that facilitates secure, transparent, and tamper-proof electronic voting.

The primary objective of this project is to design, develop, and implement a


decentralized application (dApp) using blockchain technology for an electronic voting
system. This innovative solution aims to enhance the integrity, security, and
accessibility of the electoral process.

7
Theory
An electronic voting system that fully mimics real-world systems has long been desired.
Until recently, it had not been possible to fully address the mandatory properties of a
realworld voting scheme, simultaneously. Recently, with the onset of new technologies
and research, however, it is not only possible to fulfill these very properties, but also to
improve the anonymity and convenience of voting.

The project will encompass the entire development life cycle of the e-voting dApp, from
concept formulation to deployment and testing. It will involve selecting an appropriate
blockchain platform, designing the network architecture, and developing smart
contracts to govern the voting process. Additionally, the project may optionally explore
advanced biometric authentication methods to further bolster voter identity verification.

A decentralized and self-tallying electronic voting protocol that substantially enhances


the privacy of voters and diminishes centralization is developed in this work and
presented in this dissertation. These properties are accomplished through a symbiotic
relationship between the Ethereum Blockchain and the Portuguese electronic ID.

Key Features:
Immutable Ledger: The application leverages blockchain's immutable ledger to ensure
that once a vote is recorded, it remains unalterable, thereby guaranteeing the integrity
and credibility of the voting process.

Decentralization for Resilience: By utilizing a network of decentralized nodes, the


system mitigates risks associated with centralized systems, providing robustness against
potential attacks or failures.

Enhanced Identity Verification: Utilizing advanced cryptographic techniques, the


system authenticates voters securely, preventing unauthorized access and ensuring the
legitimacy of each ballot.

Transparency and Audibility: The blockchain ledger enables real-time tracking and
auditing of the voting process, offering a transparent and verifiable record of all
transactions.

8
Code
pragma solidity ^0.6.0;

contract Voting { bool

public isVoting; struct Vote

{ address

receiver; uint256

timestamp;

mapping(address => Vote) public votes;

// defining events event AddVote(address indexed voter, address receiver,

uint256 timestamp); event RemoveVote(address

voter); event StartVoting(address startedBy); event StopVoting(address

stoppedBy); constructor() public

{ isVoting = false;

function startVoting() external returns(bool)

{ isVoting = true; emit

StartVoting(msg.sender); return true;

function stopVoting() external returns(bool)

{ isVoting = false; emit

StopVoting(msg.sender); return true;

function addVote(address receiver) external returns(bool)

{ votes[msg.sender].receiver = receiver; votes[msg.sender].timestamp


9
= now;

10
emitAddVote(msg.sender,votes[msg.sender].receiver,votes[msg.sender].timestamp);

return true;

function removeVote() external returns(bool) {

delete votes[msg.sender]; emit

RemoveVote(msg.sender);

return true;

function getVote(address voterAddress) external view returns(address candidateAddress)


{ return

votes[voterAddress].receiver;

11
OUTPUT

12
13
14
Conclusion
The Blockchain-Based e-Voting dApp project seeks to transform the traditional voting
process by introducing cutting-edge technology. This innovative approach to electronic
voting aims to provide a secure, transparent, and tamper-proof system that can be
adopted to improve the electoral processes around the world, ultimately fostering
democracy and trust in governance.

This project acknowledges the need for careful consideration of regulatory and legal
requirements and emphasizes collaboration with relevant stakeholders, including
government authorities, to ensure its successful implementation.

15
References

• https://ubibliorum.ubi.pt/bitstream/10400.6/10510/1/7273_15390
• https://en.wikipedia.org/wiki/Electronic_voting
• Techknowledge Block Chain

16

You might also like