About
## Wave 2 submission
Whistle was built from zero this wave, solo. Everything below was built and verified during Wave 2.
CONTRACT (Compact)
- A compiling Compact contract with three circuits: registerMember, openCase and fileReport. - Public ledger: a Merkle tree of member commitments, a case map (threshold, report count, status), a nullifier set and an admin commitment. - Private witnesses: the member's secret, their Merkle path and the admin secret. These never leave the user's machine. - fileReport proves Merkle membership, derives a per-case nullifier, rejects repeats, increments the count and flips the case to CORROBORATED when the threshold is reached.
ENCRYPTED REPORT DELIVERY
- Each case has its own keypair. Reports are encrypted client-side (X25519, HKDF-SHA256, AES-256-GCM). - The contract stores only the hash of the ciphertext. The admin's inbox decrypts the report and verifies that hash, and there is no sender field to read.
TOOLING AND APP
- A TypeScript API layer, a CLI and a local gateway with a relay-style fee wallet, so no member wallet is linked to a report. - A React + Vite app with Admin, Member and Public dashboard screens. - A landing site deployed on Vercel.
QUALITY
- 37 passing tests: valid report, double-report rejection, reporting on different cases, non-member rejection, non-admin rejection, threshold behaviour (not before, then flips) and a privacy check on the ledger state. - Verified end to end on a local Midnight devnet (node, indexer and proof server) with real proofs. A clean-clone script reproduces the judge path from a fresh checkout.
HONEST STATUS
- Midnight's hosted Preprod endpoints were shut down on Oct 9, so the end-to-end run is on a local devnet. A Preprod deployment is the first item for Wave 3. - The README documents the threat model and its limits: the admin knows who received which commitment at registration, and network metadata can leak information.
NEXT (Wave 3)
Preprod deployment, member revocation, multi-org support, escrowed identity reveal to an ombudsman, and a hosted proof server so judges don't need Docker.
LINKS
Live site: https://whistle-midnight.vercel.app Demo video: https://youtu.be/PaLbYNbhHMQ Code: https://github.com/Im-2/whistle-midnight
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





