This project is built on the Midnight Network.
Companies run payroll where on-time payment is public but salaries stay private. Employees prove income thresholds with ZK without revealing pay.
Public-chain payroll exposes every salary. Income checks leak full history. DAOs pay on-chain today, so envy and disputes hurt retention.
Employer funds vault, posts payroll root. Employee claims with nullifier. Conservation holds publicly. Income proof reveals only a boolean.
Compact private witnesses for secrets and amounts. Public ledger holds root, totals, nullifiers, round state. Circuits: fund, postRoot, claim, proveIncomeAbove, nextRound. Lineage: midnightntwrk example-bboard plus compact-by-example Map pattern.
- Start proof server on port 6300.
- Compile contract with compact 0.31.0 or later.
- Fund 10000 mock units, post root, claim twice to see second fail.
- Check totals show claimed versus funded with amounts hidden.
Single-round payroll with nullifier claims and threshold proofs. Mock tokens only, no real value. On-chain attestation verify moves to Wave 2.
Apache-2.0 for new Midnight code. See LICENSE.
- Start with FILEMAP then JUDGING MAP then COUNTDOWN
- Contract details live in contracts README and COMPILE NOTES
- Demo path is VIDEO SCRIPT plus DEMO STEPS plus SHOTLIST Status is Wave 1 draft ready for push compile and video.