Last updated 5 months ago
Patients must share sensitive health data for care or compliance, but doing so risks privacy breaches and misuse
Enable patients to securely verify health credentials using zero-knowledge proofs on Midnight, with a demo UI and Lace wallet integration
Please provide your proposal title
Private Health Test Verifier
Please specify how many months you expect your project to last
3
Please indicate if your proposal has been auto-translated
No
Original Language
en
What is the problem you want to solve?
Patients must share sensitive health data for care or compliance, but doing so risks privacy breaches and misuse
Supporting links
Does your project have any dependencies on other organizations, technical or otherwise?
No
Describe any dependencies or write 'No dependencies'
No dependencies
Will your project's outputs be fully open source?
Yes
Please provide here more information on the open source status of your project outputs
All code, UI, tests, and documentation will be open source under the MIT License and hosted publicly to enable transparency, collaboration, and reuse for privacy-preserving verification.
Please choose the most relevant theme and tag related to the outcomes of your proposal
Privacy
What is useful about your DApp within one of the specified industry or enterprise verticals?
Health:
Architecture diagram:
User (React UI)
│
Lace Wallet Integration
│
Compact Contract (Midnight)
│
Proof Verification & Storage (hashes on Midnight blockchain)
What exactly will you build? List the Compact contract(s) and key functions/proofs, the demo UI flow, Lace (Midnight) wallet integration, and your basic test plan.
-
generateProof(patientID, healthAttribute, expirationDate)verifyProof(proofHash, patientZKProof)revokeProof(proofHash)registerPatient(patientHash)checkEligibility(patientHash, attribute)-
-
-
-
How will other developers learn from and reuse your repo? Describe repo structure, README contents, docs/tutorials, test instructions, and extension points. Which developer personas benefit, and how will you gauge impact (forks, stars, issues, remixes)?
Repo Structure (Proposed):
PHTV/
├─ contracts/
│ ├─ HealthProof.compact # Core ZK proof contract
│ ├─ PatientRegistry.compact # Patient registration & eligibility
│ └─ utils/ # Helper scripts for proof generation
├─ ui/
│ ├─ patient-portal/ # React app for patients
│ ├─ verifier-portal/ # React app for verifiers
│ └─ components/ # Shared UI components
├─ tests/
│ ├─ contract-tests/ # Unit tests for compact contracts
│ └─ ui-tests/ # Integration tests for UI flows
├─ scripts/
│ ├─ deploy.js # Deployment scripts
│ └─ demo-setup.js # Sample data & test proofs
├─ docs/
│ ├─ architecture.md
│ ├─ zk-primer.md # Overview of ZK patterns & selective disclosure
│ └─ extension-guide.md # How to fork, extend, or integrate
├─ package.json
└─ README.md
Getting Started
Running the Demo
Please describe your proposed solution and how it addresses the problem
The Private Health Test Verifier (PHTV) will create meaningful value for the Midnight ecosystem by demonstrating a practical use case for privacy-preserving, decentralized verification. By building a zero-knowledge proof (ZKP) system for health credentials, PHTV contributes in several ways:
PHTV provides a tangible example of selective disclosure and on-chain proof verification, highlighting Midnight blockchain’s strengths for privacy-sensitive applications.
An open-source PoC encourages developers to experiment with compact contracts, ZKPs, and decentralized verification, fostering innovation and growth within the Midnight ecosystem.
PHTV demonstrates the feasibility of secure, decentralized health verification, potentially inspiring other applications in travel, insurance, research, or regulatory compliance.
Number of proofs generated and verified through the PoC.
GitHub repository engagement: forks, stars, issues, and pull requests.
Number of users testing the demo UI and interacting with the system.
Feedback from users, verifiers, and developers on usability and potential applications.
Case studies documenting how PHTV could be adapted for other privacy-sensitive credentials.
Open-Source Release: Full contracts, UI, documentation, and test suite will be publicly available under the MIT license on GitHub.
Community Engagement: Tutorials, demo sessions, and walkthroughs will be shared with the Midnight community to encourage adoption and experimentation.
Knowledge Transfer: Insights, lessons learned, and potential extensions will be documented and shared with developers, researchers, and ecosystem participants to maximize reuse and inspire new projects.
Please define the positive impact your project will have on Midnight ecosystem
The Private Health Test Verifier (PHTV) will create meaningful value for the Midnight ecosystem by demonstrating a practical use case for privacy-preserving, decentralized verification. By building a zero-knowledge proof (ZKP) system for health credentials, PHTV contributes in several ways:
PHTV provides a tangible example of selective disclosure and on-chain proof verification, highlighting Midnight blockchain’s strengths for privacy-sensitive applications.
An open-source PoC encourages developers to experiment with compact contracts, ZKPs, and decentralized verification, fostering innovation and growth within the Midnight ecosystem.
PHTV demonstrates the feasibility of secure, decentralized health verification, potentially inspiring other applications in travel, insurance, research, or regulatory compliance.
Number of proofs generated and verified through the PoC.
GitHub repository engagement: forks, stars, issues, and pull requests.
Number of users testing the demo UI and interacting with the system.
Feedback from users, verifiers, and developers on usability and potential applications.
Case studies documenting how PHTV could be adapted for other privacy-sensitive credentials.
Open-Source Release: Full contracts, UI, documentation, and test suite will be publicly available under the MIT license on GitHub.
Community Engagement: Tutorials, demo sessions, and walkthroughs will be shared with the Midnight community to encourage adoption and experimentation.
Knowledge Transfer: Insights, lessons learned, and potential extensions will be documented and shared with developers, researchers, and ecosystem participants to maximize reuse and inspire new projects.
What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?
The PHTV project team brings proven expertise in blockchain development, zero-knowledge proofs (ZKPs), and front-end engineering. Our ability to deliver high-quality outcomes is reinforced by the successful completion of a previous funded project; https://projectcatalyst.io/funds/12/cardano-open-developers/cardano-ecommerce-application where we:
This prior success demonstrates our technical competence, reliability, and ability to manage funded projects effectively.
The feasibility of PHTV will be validated through a structured, multi-step approach:
Our prior experience managing funded projects demonstrates that we can responsibly manage resources. For PHTV, we will maintain this high standard through:
Our experience, combined with structured planning, transparent processes, and technical expertise, positions us to deliver PHTV reliably, on time, and ensuring both project execution and proper stewardship of funds.
Please provide a cost breakdown of the proposed work and resources
The total funding requested for the Private Health Test Verifier (PHTV) project is $8,000 USD, allocated to cover all resources necessary for the development and implementation of the proposed project. All funds will be used exclusively for project-related activities, in accordance with Catalyst funding rules, including labour, IT/software services, materials, and production costs.
This budget ensures that all $8,000 requested is fully dedicated to the execution of PHTV, fully compliant with Catalyst fund rules, and supports the delivery of a complete, verifiable, and high-impact privacy-first health verification system.
How does the cost of the project represent value for the Midnight ecosystem?
The requested funding of $8,000 USD represents high value for the Midnight ecosystem because it is fully dedicated to building a privacy-first, zero-knowledge proof (ZKP) health verification system that demonstrates the capabilities of Midnight's blockchain and compact contracts in a real-world application.
Demonstrates Core Midnight Technology:
PHTV will showcase selective disclosure using zero-knowledge proofs on Midnight, providing a tangible example of how sensitive data can be securely verified on-chain without exposure. This increases confidence in Midnight’s capabilities for other developers and enterprises.
Supports Ecosystem Growth:
By creating an open-source repository with smart contracts, UI, test suites, and documentation, PHTV provides reusable assets for developers looking to build privacy-focused applications in healthcare, insurance, travel, or other compliance-heavy domains.
Encourages Developer Adoption:
The project includes a working demo UI with wallet integration, making it easier for new developers to understand, test, and extend the framework. This lowers barriers to entry and accelerates ecosystem adoption.
Maximizes ROI for Funding:
Each dollar is allocated directly to milestone-based development, testing, and documentation, ensuring transparent and accountable use of funds. The outputs are fully public, verifiable, and designed for reuse, multiplying the impact of the initial investment.
Real-World Impact:
PHTV empowers users with privacy-preserving health verification, a capability with immediate societal relevance. This demonstrates that Midnight can support high-impact, privacy-sensitive applications, strengthening the ecosystem’s credibility and visibility.
In summary, funding PHTV delivers technical, educational, and social value to the Midnight ecosystem, while providing reusable open-source resources and a fully functional PoC that highlights the unique strengths of the platform. Every milestone is designed to ensure measurable, demonstrable impact, making this project a highly efficient and strategic use of funds.
I confirm that the proposal clearly provides a basic prototype reference application for one of the areas of interest.
Yes
I confirm that the proposal clearly defines which part of the developer journey it improves and how it makes building on Midnight easier and more productive.
Yes
I confirm that the proposal explicitly states the chosen permissive open-source license (e.g., MIT, Apache 2.0) and commits to a public code repository.
Yes
I confirm that the team provides evidence of their technical ability and experience in creating developer tools or high-quality technical content (e.g., GitHub, portfolio).
Yes
I confirm that a plan for creating and maintaining clear, comprehensive documentation is a core part of the proposal's scope.
Yes
I confirm that the budget and timeline (3 months) are realistic for delivering the proposed tool or resource.
Yes
I Agree
Yes
The PHTV project will be delivered by a focused team of two skilled professionals, combining expertise in blockchain development, zero-knowledge proofs, front-end development, and project management. Both team members are fully committed to delivering the project within the 3-month timeline.
Team Members:
Anokye James Yaw – Project Lead & Blockchain Developer
LinkedIn: https://www.linkedin.com/in/jamesanokye/
GitHub: https://github.com/jyanokye
Responsibilities: Designing and implementing zero-knowledge proof circuits, developing the compact smart contracts on Midnight, integrating cryptographic proofs with the blockchain, and overseeing overall project execution.
Paa Kojo Effah Annan – Front-End Developer & QA Lead
LinkedIn: https://www.linkedin.com/in/paa-kojo-effah-annan/
GitHub: https://github.com/ThePaapyK
Responsibilities: Developing the patient and verifier demo UI using React, integrating smart contracts with the UI, implementing wallet authentication via Lace, creating and executing the test suite for proof verification, and maintaining comprehensive project documentation.
Skills Gaps / Additional Needs:
The team currently covers all core technical and development requirements for the PoC. Optional consultation from a UX researcher or DevOps engineer may be sought to optimize UI/UX flows and ensure test network deployment, but the project is fully executable with the current team.
Both team members have confirmed availability, experience, and prior success in delivering funded projects, ensuring trust, accountability, and the ability to manage the project and funds responsibly.