About
## Wave 2 submission
First submission of CipherComply, private eligibility verification on Midnight. A user proves one fact ("over 18", "income above USD 85,000") and the chain records only a pseudonymous ID and a validity date. Apps get a yes or no, never the document, name or wallet.
Live: https://ciphercomply.vercel.app
Sandbox (no wallet): https://ciphercomply.vercel.app/sandbox Example app using a verification: https://ciphercomply.vercel.app/example Video (3 min): https://youtu.be/QPNuGXtu6nM Code (Apache-2.0): https://github.com/ayushsaklani-min/cc On-chain evidence: https://github.com/ayushsaklani-min/cc/blob/phase-0-validation/docs/proof.md
What shipped:
1. Compact contract (compiler 0.31.1), 3 circuits: verify-and-register, rotate oracle key, revoke. Schnorr signature verification composed in-circuit (no built-in exists in 0.31.1), plus block-time expiry, single-use nullifiers, monotonic revocation epochs, and statuses that can be extended but never shortened.
2. Two policies, two contracts on Midnight Preview: - Aged 18 or over: DigiLocker's PAN Verification Record. The server verifies the issuer's digital signature against a pinned certificate, then reads the record by rule. No AI. Edited PDFs are refused, and one person's record verifies only one identity. - Income >= USD 85,000: a document read by Gemini, cross-checked by a second model, decided by fixed rules.
3. Gateway: subject-ownership proof (the oracle signs only for an ID the user controls), idempotency, rate limits, one-use document registry.
4. Web app: Lace wallet flow end to end (prove, sign, submit, confirm), explorer links, and a disclosure written from the server's real config, including what the AI provider may do with a document.
- Example relying app: unlocks only for the holder of a verified ID, without seeing any document, name or wallet.
6. Sandbox: the compiled contract runs in the browser; anyone can try 11 attacks and watch the contract refuse each one.
Evidence:
- 2 contracts deployed; attestations settled via CLI wallet and via Lace in the browser; a revocation settled. - 55 on-chain checks anyone can re-run: npm run verify:onchain - 200 offline tests, including every contract refusal and 7 ways to tamper with a signed document. - CI on every push: audit, secret scan, pinned compile, typecheck, tests, on-chain check.
Iteration within the wave: the first version trusted a document's text once an AI read it, so an edited payslip could pass. The over-18 policy fixes that with issuer-signed evidence and no AI.
Honest limits: dev sign-in and in-memory oracle key; a signed record proves the document, not who uploads it; a local proof server is needed for browser submission; not yet audited; no partners yet.
Next: signed data sources instead of AI for income, a sealed (enclave) checker, a self-audit, on-chain key rotation, and a first integration partner.
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





