https://github.com/kaushiksk/involve
Bringing transparency and security to voting using the ethereum blockchain
https://github.com/kaushiksk/involve
blockchain ethereum flask ganache-cli web3py
Last synced: about 2 months ago
JSON representation
Bringing transparency and security to voting using the ethereum blockchain
- Host: GitHub
- URL: https://github.com/kaushiksk/involve
- Owner: kaushiksk
- Created: 2018-04-07T06:19:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T21:29:29.000Z (over 3 years ago)
- Last Synced: 2025-11-05T03:20:11.142Z (8 months ago)
- Topics: blockchain, ethereum, flask, ganache-cli, web3py
- Language: JavaScript
- Homepage:
- Size: 1.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Involve - Ballot papers on ethereum smart contracts
Bringing transparency and security to voting using the ethereum blockchain.
> This project was created in 24 hours as part of Microsoft's code.fun.do hackathon at NITK Surathkal
## How it works
- Every time a vote is cast, a new smart contract is deployed on the ethereum blockchain. This
contains the constituency and the candidate that was voted for.
- The address of every contract is stored and made publicly available
- Anybody can read the data by accessing the smart contract using this address, which ensures complete transparency
in vote counting and results and every vote cast is now accounted for.
## Technologies Used
- [ganache-cli](https://github.com/trufflesuite/ganache-cli/) : It provides a local ethereum network for us to interact with.
- `web3.py` : Python wrapper around __Web3.js__. It helps us connect to the ethereum network and deploy smart contract or make transactions
## Instructions
- Install packages and dependencies. `$ pip install -r requirements.txt`
- Run the sql scripts in the `db/` folder.
- First start ganache-cli. `$ ganache-cli`
This creates an ethereum network locally that listens on port 8545.
- Run `$ python app.py`.
Using the [Flat UI](https://designmodo.github.io/Flat-UI/) theme.
## Disclaimer
This is a proof-of-concept application to demonstarte the use of ethereum smart contracts as ballot papers. Since it was built during a 24 hours hackathon some of the pages (login, candidate list) are representative only.