From the great builders of TrustLevel: ZK voting on Cardano is available. Open source, live on Mainnet and on the Preprod testnet

What it is: a vote where every ballot is verified and counted on-chain, and nobody, not even the organiser, can tell which member cast which vote. Voters need only their invitation link. No wallet, no ADA, no account.

How: each voter’s browser holds a secret identity and produces a zero-knowledge proof that the identity is on the list, without revealing which one. The validator verifies the proof on-chain, blocks a second vote from the same identity with a one-time nullifier, and updates the tally. It is a port of Semaphore to Cardano, on BLS12-381, with Plutus v3 validators in Aiken. The BLS builtins in Plutus v3 are what make this possible on L1.

How far it goes: Cardano has no private state, every UTxO is public. We built this to get as close to a full ZK voting design as the L1 allows today, and we say precisely where it stops. Who voted is hidden by the proof. What was voted is readable on-chain, just not attributable to anyone. Interim results are hidden by the app, not by cryptography. A chain with private state would make ballot secrecy simpler; we wanted this on Cardano L1, where the groups and the ADA are.

Everything else is enforced by the contracts: only invited members vote, each at most once, and the tally cannot be edited afterwards.

Try it: https://vote.trustlevel.io
Source, guides and test reports: GitHub - TrustLevel/ZK-Voting-App · GitHub

If your community votes on things members would rather not vote on in public, run one with it and tell us what is missing. Fork it to self-host.

3 Likes