Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—³οΈ Miden Private Voting dApp

A prototype client-side privacy-preserving voting application utilizing Polygon Miden Web SDK. This application allows users to cast fully anonymous votes validated via zero-knowledge proofs directly in the browser environment.

πŸš€ Live Demo Simulation

Below is the user interface representation of our Miden Private Voting system. You can simulate the operations directly from this guide:


πŸ” 1. Connection & Wallet State

  • Miden Node Connection: 🟒 Connected to Testnet
  • Proof Prover Mode: Client-Side (Local VM Proving Mode Enabled)
  • Account Anonymity Layer: Off-chain Private Note Execution Protocol

πŸ—³οΈ 2. Cast Your Secret Vote

Select one of the choices below to generate a client-side zero-knowledge proof of your ballot without exposing your cryptographic address or identity.

Candidate Option Action Action Type
🟒 Option A: Protocol Upgrade v1.2 [ Simulate Vote A ] Local Proving (ZK)
πŸ”΅ Option B: Maintain Current State [ Simulate Vote B ] Local Proving (ZK)

πŸ“Š 3. Real-Time Network Results (Public State Ledger)

Once the Miden Client executes local proofs, the zero-knowledge commitment payload maps safely into the public ledger state asynchronous structure.

  • Total Ballots Verified via Miden VM: 0
  • Option A Verified Commitments: 0
  • Option B Verified Commitments: 0

πŸ› οΈ Architecture Breakdown

  1. Local VM Proving: The transaction logic compiles inside the client's browser environment using the single-threaded WASM target stack from @miden-sdk/miden-sdk.
  2. Private UTXO Notes: Ballots map strictly to zero-knowledge transaction outputs ("Notes"), maintaining state separation until final consumption.
  3. Zero Information Exposure: The on-chain node only registers a finalized proof string. No third party can analyze which choice your account committed to.

🀝 Contribution & License

Licensed under the permissive MIT license framework. Feel free to clone, experiment, or propose enhancements to the local proving loops.

About

A decentralized privacy-preserving voting application built on Polygon Miden infrastructure.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors