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

Online Voting System Using Blockchain

This document describes a voting system project using blockchain technology. The project aims to create an online voting system (OVS) using blockchain to allow citizens to vote from anywhere in the country. Blockchain provides security, transparency and efficiency for voting. The technologies used include blockchain, Solidity, JavaScript, Ganache, Truffle, Node.js and MetaMask. Solidity is used to write smart contracts, JavaScript is used for validation, and Ganache provides a personal blockchain for testing. Truffle helps with development and MetaMask acts as the wallet to interact with the dApp.

Uploaded by

Ankush Ankush
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
374 views

Online Voting System Using Blockchain

This document describes a voting system project using blockchain technology. The project aims to create an online voting system (OVS) using blockchain to allow citizens to vote from anywhere in the country. Blockchain provides security, transparency and efficiency for voting. The technologies used include blockchain, Solidity, JavaScript, Ganache, Truffle, Node.js and MetaMask. Solidity is used to write smart contracts, JavaScript is used for validation, and Ganache provides a personal blockchain for testing. Truffle helps with development and MetaMask acts as the wallet to interact with the dApp.

Uploaded by

Ankush Ankush
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

SRI SUKHMANI INSTITUTE OF

ENGINEERING & TECHNOLOGY


DERA BASSI

DEPARTMENT OF COMPUTER SCIENCE &


ENGINEERING
VOTING SYSTEM USING BLOCKCHAIN
CREATED BY
ANKUSH (1908740) SEM 6
MUKUND JEE TIWARI (1908748) SEM 6
ABOUT PROJECT

• In this project we are creating an Online Voting System (OVS) using Blockchain so to allow
each individual of the society to use their Fundamental Right i.e., Right to Vote from any part of
the country just on a click.
• OVS is a time saving, affordable and cost efficient system to conduct the election in any part of
the country.
• Using Blockchain voting process can become more secure, easy, fast, less costly and transparent.
• Low risk of data redundancy in Blockchain.
TECHNOLOGIES USED

• Blockchain
• Solidity
• JavaScript
• Ganache
• Truffle
• Node.js
• Meta Mask
BLOCKCHAIN

• Blockchain is a technology that is rapidly gaining


momentum in era of industry 4.0. With high security
and transparency provisions, it is being widely used
in supply chain management systems, healthcare,
payments, business, IoT, voting systems, etc.
• Blockchain is an appealing alternative to
conventional Electronic Voting Systems with
features such as decentralization, non-repudiation
and security protection. It is used to hold both
boardroom and public voting.
WEBAPP dAPP
SOLIDITY

• Solidity is an object-oriented programming language for writing smart contracts.


• It is used for implementing smart contracts on blockchain platforms, most notably Ethereum.
• The programs compiled by it is intended to be run on Ethereum Virtual Machine.
JAVASCRIPT

• JavaScript is used for validation purpose


• It is also called scripting language.
Syntax:
<script language =“javascript”>
Function abc()
{
alert(“hello”);
}
</script>
GANACHE

• ONE CLICK BLOCKCHAIN


• A personal blockchain for Ethereum development
you can use to deploy contracts, develop your
applications, and run tests.
• It is available as both a desktop application as well
as a command-line tool (formerly known as the
TestRPC).
• Ganache is available for Windows, Mac, and Linux.
TRUFFLE

• SMART CONTRACTS MADE SWEETER


• A world class development environment, testing framework and asset pipeline for blockchains
using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
• To install ganache on our computer run command “npm install –g truffle” in the command
prompt.
NODE.JS

• Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on


the V8 engine and executes JavaScript code outside a web browser.
• Install node.js from “nodejs.org”.
META MASK

• Meta Mask is a software cryptocurrency wallet used to


interact with the Ethereum blockchain.
• It allows users to access their Ethereum wallet through
a browser extension or mobile app, which can then be
used to interact with decentralized applications.
• Since it is an extension so it can be downloaded from
the browser web store.
• After downloading create a Meta Mask wallet and
connect it with your blockchain network for the
interaction with the dApp.
HOW TO START AND RUN THE PROGRAM?

1. Connect Meta Mask with the Ganache and import contact in Meta Mask from the Ganache
using the private key provided by the Ganache.
2. Make sure Meta Mask is connected with our site, i.e., http://localhost:3000 in this case.
3. From our main directory open command prompt and run the command “truffle migrate –reset”
to apply all changes.
4. In the second tab of command prompt of the same directory run command “npm run dev” to
run the server.
FINAL PROJECT
TRANSACTION

• When we will cast our vote from our account


then meta mask will ask a confirmation page
with the transaction receipt.
FINAL OUTPUT
REFERENCES

• www.google.com
• www.Wikipedia.com
• www.github.com
• www.geeksforgeeks.com
• www.youtube.com

You might also like