PrivateLab

Privacy-Preserving Laboratory Result Verification

Repo

About

## Wave 1 submission

PrivateLab is a privacy-preserving laboratory result verification application powered by Midnight. It addresses a simple problem: a patient may need to prove that a laboratory result satisfies a required condition without unnecessarily revealing the underlying medical value. Wave 1 deliberately focuses on one real laboratory parameter: Hemoglobin. The core verification flow is: Patient private value → private witness → Midnight Compact circuit → threshold comparison → disclosed PASS/FAIL result. During this Wave, we: • Designed the privacy-preserving laboratory verification workflow around a concrete Hemoglobin threshold use case. • Implemented the verifyHemoglobin Compact circuit, which obtains Hemoglobin through a private witness and verifies it against a minimum threshold. • Implemented getHemoglobin() as a private witness so the patient's underlying laboratory value is supplied privately to the circuit. • Used Midnight's disclose() mechanism so the verification outcome can be made public without exposing the patient's actual Hemoglobin value. • Represented decimal Hemoglobin values using fixed-point integer encoding: 13.2 g/dL is represented as 132 and 12.0 g/dL as 120, allowing the circuit to evaluate 132 >= 120 and return PASS. • Compiled the Compact contract and generated the contract bindings, proving/verifying keys and ZKIR artifacts required for application integration. • Built the TypeScript application layer around the generated Midnight contract interface, including witnesses, providers, network configuration and contract integration. • Added a Vitest integration test and successfully verified the complete contract deployment and private Hemoglobin verification flow in the local Midnight development environment. • Published the project as an Apache-2.0 licensed public repository and added the midnightntwrk repository topic. The implementation is intentionally small. Rather than adding multiple laboratory parameters or simulated functionality, Wave 1 establishes and tests the core privacy primitive first. Current status: the Compact privacy circuit compiles successfully and the core application integration has been validated locally. Preprod interaction is not claimed as completed in this Wave; completing the real network transaction flow is the next technical step. Repository: https://github.com/TeleBlockDev/PrivateLab Pitch Deck: https://docs.google.com/presentation/d/1HI05T4vUTi7A9xBrLbUmAgfYdMnZEJoMi5kQVgvPQBw/edit?usp=drivesdk Planned later Waves: • Multiple laboratory parameters and combined private verification. • Privacy-preserving health credentials. • User-controlled consent and authorized verification. PrivateLab is a verification prototype, not a medical diagnostic tool.

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.