About
## Wave 2 submission
Privacy-preserving clinical trial enrollment on Midnight.
Membrane lets hospitals prove they have enough eligible patients for a clinical trial, without revealing patient records, the hospital's exact patient count, or any identifying data. Research sponsors publish trial criteria on-chain, hospitals prove eligibility with zero-knowledge proofs, and the Midnight network verifies them.
The problem
Before a clinical trial starts, a sponsor needs to know which hospitals have enough patients matching the trial criteria (disease, age range, minimum sample size). Hospitals can't share patient data at this stage: consent, IRB approval, and data-sharing agreements aren't in place yet. Today this discovery step is slow and manual.
The solution
Membrane splits the problem along a privacy boundary:
- Public (on-chain): trial criteria, trial status, enrolled hospital count, and a commitment per enrolled hospital.
- Private (hospital-side only): the patient database, the count of matching patients, and the hospital's credential.
A hospital computes its eligibility locally, then generates a zero-knowledge proof that its matching-patient count meets the trial's minimum. The Midnight node verifies the proof. The chain learns that the hospital qualifies, and nothing else.
Membrane covers the discovery gate only. It does not replace patient consent, IRB review, or legal data-sharing agreements, which remain off-chain by design.
- Membrane video demo: https://youtu.be/Z4Gl3F5mqVs
- Membrane pitch deck: https://docs.google.com/presentation/d/1YxY224O1pldKGQgOnDstrlmfwgkAhhMZ/edit?usp=drive_link&ouid=102871429371675148459&rtpof=true&sd=true
- Membrane GitHub repo: https://github.com/Princeigwe/membrane
- Membrane Smart Contract (preview): https://preview.midnightexplorer.com/contracts/0xe03c6abcd309f053d96913999e6ea2ba5ce3b15386860f039e2c9e65e69d03e3
- Membrane web Dapp: https://membrane-rust.vercel.app
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





