Build a privacy-preserving voting DApp on Midnight

TL;DR AI
2 min readKey summary
A tutorial shows how to build a privacy-preserving voting DApp on Midnight with a commit-reveal design and zero-knowledge proofs.
The app uses a Compact smart contract, a TypeScript API, tests, and a React frontend in a monorepo.
Votes stay hidden while the system can still verify rules and tally results accurately.
The DApp connects through the 1AM wallet on the Midnight preview Testnet.
