Switch language한국어
Back to the list

Build a privacy-preserving voting DApp on Midnight

TL;DR AI

Key summary

2 min read
  1. A tutorial shows how to build a privacy-preserving voting DApp on Midnight with a commit-reveal design and zero-knowledge proofs.

  2. The app uses a Compact smart contract, a TypeScript API, tests, and a React frontend in a monorepo.

  3. Votes stay hidden while the system can still verify rules and tally results accurately.

  4. The DApp connects through the 1AM wallet on the Midnight preview Testnet.

Read the original