rohitdwivedula / ZKP-Voting-System

A blockchain voting system incorporating zero knowledge proofs. Built as a API using Flask + MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZKP Blockchain Voting API

This web application allows you to vote for candidates in an election. In this version of the app, the names of the candidates have been hard coded into the HTML template, but populating them from a dynamic list in the database is not that hard as well. To vote for the candidate, enter your public key (voter id) and private key. Once the keys have been verified inside the node, you need to call the mine block endpoint to actually mine the block.

Before the block is mined, we check if the person has voted before and use ZKP to prove that we have knowledge of the person we are voting for without revealing the stance of our vote. You can see your vote by querying the my vote API.

To Do

  1. Create web app (frontend) and integrate web app with backend APIs

About

A blockchain voting system incorporating zero knowledge proofs. Built as a API using Flask + MySQL


Languages

Language:Python 84.7%Language:HTML 15.3%