Vote without revealing who you are or how you voted. Pay zero fees for preserving privacy.
By Orkid Labs — privacy-first crypto engineering
Horizen adaptation of zk-ballot — replaces on-chain verify costs with ZEN token staking and ZenKinetic privacy gate integration.
- Voter generates a Halo2 ZK proof of Merkle membership + vote (same as zk-ballot)
- ZenKinetic gate scores the proof's negentropy — privacy-preserving = 0% fee
- ZEN staking grants voting access — Pro tier (1,000 ZEN) required
- Vote settles on Horizen Base L3 with full privacy
The ZK circuit proves, without revealing identity or vote:
- Merkle membership — voter is in the registry
- Nullifier — prevents double-voting
- Boolean vote — vote is valid (0 or 1)
- Vote commitment — binds proof to specific ballot
use horizen_ballot::VotingSession;
let session = VotingSession::new(4, 20, 0.95, 1_000.0);
let result = session.evaluate();
println!("Gate: {:?}", result.gate_decision); // Allow
println!("Fee: {} bps", result.fee_bps); // 0
println!("Negentropy: {:.1} bits", result.negentropy_bits); // 80.0
println!("Anonymity set: {}", result.anonymity_set); // 16| Stake Tier | Min ZEN | Fee Discount | Voting Access |
|---|---|---|---|
| Basic | 100 | 25% off | — |
| Pro | 1,000 | 50% off | ✓ |
| Max | 10,000 | 75% off | ✓ |
horizen-ballot
├── depends on → negentropy (physics scoring)
├── depends on → zenkinetic (privacy gate + ZEN staking)
├── adapts → zk-ballot (Halo2 voting circuit)
└── deploys on → Horizen Base L3
This is the Horizen-native adaptation of zk-ballot. The Halo2 circuit and proof generation are the same; the chain integration changes from direct on-chain verify to Horizen Base L3 with ZEN staking and ZenKinetic privacy gating.
horizen-ballot brings anonymous on-chain voting to Horizen Base L3. Each vote generates a Halo2 ZK proof scored by the negentropy engine and gated by ZenKinetic. Privacy-preserving votes settle at 0% fee; ZEN staking (Pro tier, 1,000 ZEN) grants voting access.
Progressive achievement over 150 days, following Thrive's Horizen Genesis Program milestone structure.
Application Requirements (10% unlocked at approval):
- ✅ Detailed technical architecture showcasing privacy technology implementation
- ✅ Clear demonstration of ZK integration (Halo2 PLONK + IPA commitment)
- ✅ Privacy-focused user experience design and privacy preservation methodology
- ✅ ZEN token utility and ecosystem value proposition (via ZenKinetic integration)
- ✅ Team background with relevant cryptographic and privacy expertise
Milestone 1 (20% unlocked) — 45 days post approval:
- Smart contract(s) deployed on Horizen testnet with privacy features functional
- Core privacy mechanisms implemented and audited
- Technical documentation published with privacy proofs
- Beta testing with privacy verification and user feedback
Milestone 2 (30% unlocked) — 90 days post approval:
- Mainnet deployment with full privacy feature set operational
- Privacy compliance documentation and audit reports
- Integration with Horizen ecosystem tools and infrastructure
- Early traction metrics (choose one):
- TVL: $50K+ in ZEN locked in smart contracts, staking, or liquidity pools
- Volume: 10,000+ transactions demonstrating privacy preservation
- Unique wallets: 250+ verified users utilizing privacy features
Milestone 3 (40% unlocked) — 150 days post approval:
- Scale metrics (choose one):
- TVL: $100K+ in ZEN locked in smart contracts, staking, or liquidity pools
- Volume: 20,000+ transactions demonstrating privacy preservation
- Unique Wallets: 500+ verified users utilizing privacy features
Part of the negentropy-powered privacy stack for Horizen:
- negentropy — shared physics engine
- zenkinetic — thermodynamic privacy gate
- horizen-age — age verification
- horizen-attest — attestations
- horizen-ballot — this repo
Built by Orkid Labs — a privacy-first crypto engineering lab building thermodynamic infrastructure for decentralized systems.
MIT — see LICENSE.
horizen-ballot — Anonymous on-chain voting contracts for Horizen Base L3 — Halo2 ZK proofs, Solidity ballot system.
- Install:
npm install @orkid-labs/horizen-ballot-contracts - Package: https://www.npmjs.com/package/@orkid-labs/horizen-ballot-contracts
- API docs: https://docs.orkidlabs.xyz/packages/horizen-ballot
- Docs: https://docs.orkidlabs.xyz/packages/horizen-ballot
Related Orkid projects: zk-ballot, zenkinetic, horizen-attest
Orkid Labs builds gasless, MEV-protected swap routing and agent-native DeFi infrastructure — orkidlabs.xyz · @orkid-labs on npm · github.com/orkid-labs
