Veilvote

VeilVote is a privacy-preserving voting protocol on Aleo

Repo

About

## Wave 2 submission

In this wave, VeilVote was developed into a functional private voting application on Aleo. The Leo smart contract was completed and tested to support confidential vote casting with one-person-one-vote enforcement using Aleo’s private record model. Voting transitions were successfully executed to demonstrate private state updates without revealing voter identity or ballot choice.

The project structure and documentation were improved to support easy compilation, proving, and execution using the Aleo CLI and snarkOS. An end-to-end demo workflow was finalized, showing contract build and private vote casting by multiple participants on Aleo testnet.

These updates establish VeilVote as a working privacy-preserving voting system rather than a conceptual prototype.

## Wave 4 submission

In Wave 3-4, I upgraded VeilVote from a basic prototype into a full multi-candidate, multi-election privacy-preserving governance protocol on the Aleo blockchain. The smart contract veilvote_j007_v5.aleo was completely redesigned with three records, three mappings, and three transitions working together as a complete voting system. The protocol works in three stages. First, an admin calls create_election to register an election on-chain with up to 8 candidates. Second, the admin calls issue_ballot to privately send a ballot record to each eligible voter, which contains a secret nullifier seed only the voter can see. Third, the voter calls cast_vote to privately submit their choice, which permanently consumes their ballot and updates the public tally. The most important technical achievement is double-vote prevention using the nullifier pattern. When a vote is cast, the system computes nullifier = BHP256::hash(nullifier_seed) and writes that hash publicly on-chain. If the same ballot is ever used again, the entire transaction is rejected by the network. This cryptographically proves a vote happened without revealing who voted or what they chose — the same pattern used by Zcash to prevent double-spending. All three transitions were verified working locally with successful outputs. Deployment to Aleo testnet was attempted and transactions were accepted by the mempool, but final on-chain confirmation is pending due to a tooling compatibility gap — the testnet recently upgraded to ConsensusVersion V9 requiring constructor functions, while the current Leo 3.5.0 release has not yet caught up to this requirement. Aleo address: aleo137ejz97wttmf9jqlmvmr58dxweh89r6432qrm64qs4y9herxr5gqfrlcf6 URL: https://veilvote.vercel.app

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.