About
## Wave 1 submission
- Wrote and tested the full Leo program (election_voting1212.aleo) with records (Election, Vote, Result) and 14+ transitions.
- Implemented key privacy mechanics: BHP256-based vote commitments (hides choice) and nullifiers (hash of caller + election_id + seed) to prevent double-voting.
-Built core flows: create_election (anyone starts timed election), cast_vote (private vote + public tally update), end_election (admin finalizes winner by comparing u32 counters), plus helpers like verify_vote, get_leader, check_status, time_left_days, extend_election, cancel_election.
- Added immutability with @noupgrade constructor in other for program to get deployed.
- Created a basic vanilla JS frontend for Leo Wallet integration (connect, prepare private inputs like nullifier_seed, submit txs, display public election data). Deployed to Aleo testnet (program ID: election_voting1212.aleo). Tested end-to-end: create → vote privately → tally visible → end.
- Overcame challenges: Vanilla JS wallet integration was tough—no heavy SDK wrappers, so manual handling of records, async proofs, tx signing, and error handling for connection/balance/proof submission. Debugged zk hashes and timestamp logic across client/server. Fixed drift issues with current_time inputs.
** Working Demo **
- Testnet deployment: [https://testnet.explorer.provable.com/program/election_voting1212.aleo]
- Basic demo UI (vanilla JS): Connect Leo Wallet, create/view elections, cast private votes (choice hidden), see public tallies/leader ~ https://verivote-beta.netlify.app/
- Video walkthrough: [https://youtu.be/jQDrBApN9Js]
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





