EXPLORE ENCRYPTED VOTING
Your vote, encrypted.
The result, shared.
Create an election, cast encrypted ballots and reveal the totals with two of three trustees. Keep a receipt to check your ballot against the election record.
TWO WAYS TO TRY IT
Choose your demo.
Start in your browser, or bring your wallet to the testnet.
Browser demo
Try a complete election in one tab. Play the voters and trustees, save receipts and check the results.
- No wallet or tokens needed
- Real Midnight cryptography in your browser
- You control the demo voters and all three trustees
Runs locally. No cryptographic proofs or blockchain transactions are generated. Refreshing clears the election.
Open browser demoPublic testnet demo
Connect Lace to the shared Preview network. Create or join a test election, with your wallet approving each transaction.
- Lace set to Midnight Preview
- Test DUST to pay transaction fees
- On-device WASM proving selected in Lace
Public node and indexer services are already selected. Use test tokens only; the app does not use Midnight mainnet.
Open public testnet demoFROM BALLOT TO RESULT
Follow the whole election.
Set it up.
Choose the options, prepare the voter list and set the voting window.
Vote and save.
Cast an encrypted ballot. Save its QR receipt so you can find it later.
Reveal together.
After voting closes, two of the three trustees contribute their shares to reveal the totals.
Check the record.
Compare the totals and look up your receipt in the shared election record.
KNOW WHAT YOU ARE TESTING
A research prototype.
Use Ballot Lab for learning and testing, not real elections. The demo key setup creates all three trustee shares together; it does not establish independent trustees. Two trustees who cooperate can decrypt individual ballots outside the app, even before results are revealed.
A matching record does not prove who voted, that the record is genuine or that the election was fair. Local execution, proof generation and accepted network transactions are separate stages.
SUPPORT DEVELOPMENT
Buy me a coffee.
Enjoying Midnight Ballot Lab? You can support its development with a NIGHT or ADA tip on Cardano. Scan the QR code or copy the address below. Thank you for helping me keep building.
Tips are optional. The demo is free to use.