About
## Wave 2 submission
Nightschool: private skills credentials on Midnight
Live site: https://nightschool-zeta.vercel.app Source (Apache-2.0): https://github.com/Anuoluwapo25/Nightschool Demo video: https://nightschool-zeta.vercel.app/ Network: Midnight Preprod Contract: b6b2c5e5348618c64e9e269835088aaea2a633ba94aece3fcd2508253a204c24
*What Nightschool does
Nightschool teaches Midnight by having learners solve challenges on it. A learner's answer is proved in zero knowledge and never reaches the chain. The chain records that an enrolled learner solved a challenge, never which learner or what they answered. No platform holds a record of who learned what.
*What is built and working
-Compact contract: enrolment through a Merkle tree of learner commitments, one-time invites (only hashes on chain), answer commitments per challenge, nullifiers, and shielded reward minting. -Private claim circuit: a single proof shows "I'm enrolled" (without revealing which leaf), "I know the answer", and "I haven't claimed this before" (fresh nullifier, same from any wallet). -Curriculum: 7 lessons plus a final exam. Every answer is a 32-byte output of real work, so public commitments can't be brute-forced. -Frontend: lessons, live public record read from Preprod, local answer check (no network request), Lace wallet connection, in-browser proving through a local proof server, and claim receipts. -CLI and API: deploy, publish invites, seed challenges, enrol, claim, status. -Tests: circuit tests run in-process (`npm test`).
*Updates in this Wave
- [Fill in only real changes since your last submission, for example: challenges published (N of 7), invite batches, demo script and end-to-end test guide, UI fixes, README and threat-model changes] - [If built: per-learner challenges for lesson X] - [If built: "solved at least k challenges" credential proof]
*Privacy design
The chain learns the challenge id and a nullifier, nothing else. The learner's secret and answer stay on their machine, so proofs are built with a local proof server rather than a hosted prover that would see them.
* How judges can test it
1. Open the live site and check a lesson answer with no wallet (lesson 1 works with Conserve's latest transaction hash). 2. For the full flow: Lace on Preprod with DUST, local proof server (Docker), one of the judge invite codes listed in the README. Then make a card, enrol, solve, claim. 3. `npm install && npm test` runs the contract tests.
* Known limits
- Each lesson has one answer for everyone, so it can be shared off-chain (per-learner challenges are next). - Sybil resistance depends on how the organizer hands out invites. - Proving needs a local proof server.
* Next
Per-learner challenges, a private "solved at least k" credential, a browser prover option, and a pilot with a real cohort.
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





