Your health, your identity, your sovereignty
A decentralized protocol for private, verifiable patient data in clinical trials, architected as ethical infrastructure for a regenerative future.
- Project Vision
- What is DASHI?
- The Problem: Data & Trust in Clinical Research
- Our Solution: Verifiable Anonymity
- Core Components
- An Ethical & Regenerative Framework
- System Architecture
- Getting Started
- Future Roadmap
Our mission is to invent and deploy ethical infrastructure for a regenerative future, beginning with one of the most critical sectors: global health. We believe that technological progress must be paired with a deep commitment to individual empowerment and privacy.
This project is guided by the following core principles:
-
Global Health Sovereignty: We are building tools that give individuals true ownership and control over their most sensitive health data. Our goal is to dismantle centralized data silos and create a more equitable, patient-centric healthcare ecosystem.
-
Self-Sovereign Digital Identity: We utilize decentralized technologies to establish a new model for digital identity in healthcare. Relationships between patients and institutions are managed on-chain, creating a transparent and tamper-proof layer of trust without relying on a central authority.
-
Data & Knowledge Sovereignty: Our architecture ensures that sensitive information remains under the user's exclusive control. By leveraging cryptography and encrypted storage, we enable individuals to share insights and verifiable proofs without ever exposing their raw data.
-
Commitment to Open Source: We are dedicated to building in public and fostering a collaborative community. We believe that transparent, open-source development is essential for creating infrastructure that is truly trustworthy and beneficial for all.
DASHI stands for:
- Decentralized - Web3, distributed, no central authority
- Anonymous - Privacy-first, ZK proofs, encrypted storage
- Sovereign - Patient ownership and complete control
- Health - Medical records and verifiable credentials
- Identity - Universal, portable, multi-chain identity
Cultural Note: "Dashi" (出汁) is Japanese for "stock/broth" - the essential base of many dishes. Just as dashi forms the foundation of great cuisine, DASHI forms the essential foundation of sovereign health identity.
Key Features:
- Non-transferable SBT (Soulbound Token) - Your health identity cannot be sold or stolen
- Multi-chain deployment - Same address across all EVM chains via CREATE2
- Certified medical providers - Only verified institutions can issue credentials
- Encrypted vault storage - Medical data stored securely with Nillion
- Zero-knowledge proofs - Prove eligibility without revealing private data
- Sybil-resistant - Human Passport (Gitcoin) verification
The process of recruiting patients for clinical trials is fundamentally broken. It suffers from deep-seated inefficiencies and a growing trust deficit:
- Privacy Risks: Patients are required to share highly sensitive personal health information with centralized entities, creating significant privacy risks and data security vulnerabilities.
- Recruitment Friction: Researchers spend vast resources on patient verification, a slow and manual process that significantly delays the timeline for critical medical research.
- Data Silos: Patient data is fragmented across multiple, non-interoperable healthcare systems, making it difficult for individuals to control their own information or participate in new research opportunities.
- Lack of Verifiability: It is difficult to prove compliance and participation in a transparent and tamper-proof manner, which can lead to disputes and inefficiencies.
These issues not only slow down the pace of innovation but also create barriers to entry for diverse patient populations, perpetuating inequities in medical outcomes.
DASHI introduces a paradigm shift. Instead of patients handing over their data for verification, our protocol enables them to generate cryptographic proof of their eligibility without revealing the underlying data itself.
A patient can mathematically prove facts like "I am between the ages of 30 and 45" or "My cholesterol is below 200 mg/dL" to a researcher's smart contract. The researcher can trust the proof's validity without ever seeing the patient's actual age or medical records. This model builds a trustless and secure bridge between patients and researchers, protecting individual privacy while accelerating scientific discovery.
Our protocol is built on a stack of interoperable, open-source technologies:
-
Zero-Knowledge Proofs (ZKPs): At the core of our system, ZKPs allow for the private verification of data. Circuits are designed to validate common clinical trial criteria (e.g., age ranges, biomarker levels), and proofs are generated client-side on the patient's device.
-
DASHI SBT (Soulbound Token): We use non-transferable ERC721 tokens (
HealthIdentitySBT) to represent the official, on-chain relationship between a patient and their medical providers. This SBT acts as a form of self-sovereign digital identity within the healthcare ecosystem. -
Multi-chain Smart Accounts: Patient accounts are deployed via CREATE2, ensuring the same address across all EVM chains. This enables true portability of medical identity.
-
Encrypted Medical Vault (Nillion): All sensitive patient data is stored encrypted and distributed across Nillion's network. No single node can access the complete data, ensuring maximum privacy and security.
-
Human Passport Integration: Gitcoin Passport provides Sybil resistance, ensuring one person = one health identity, without requiring KYC or revealing personal information.
-
Certified Provider Registry: On-chain registry of verified medical providers who can issue DASHI credentials. Multi-level certification (doctors, clinics, hospitals, government authorities).
DASHI is architected from the ground up as a piece of ethical infrastructure:
- Privacy by Design: The system is structurally incapable of exposing user data, shifting the power dynamic from data extraction to user empowerment.
- Reduced Bias: By lowering the barrier to verification, the protocol can help create more diverse and equitable trial cohorts.
- Trust Through Transparency: The use of open-source code and public blockchain records for verification (not data) creates a transparent and auditable system for all participants.
This framework is regenerative by:
- Accelerating Research: By dramatically reducing the time and cost of patient recruitment, we can help bring new therapies and treatments to market faster.
- Rebuilding Trust: We foster a new, more equitable relationship between patients and the research community, encouraging broader participation in science.
- ReFi Economics: Patients earn rewards for research participation, creating a sustainable economic model aligned with Regenerative Finance principles.
The project is a monorepo built with Turborepo and pnpm workspaces.
| Component | Technology | Purpose |
|---|---|---|
| Browser Extension | React, Vite, TypeScript | Patient interface for identity management and data control |
| Frontend (Next.js) | Next.js 15, React, wagmi, viem | Web application for onboarding and provider dashboard |
| Smart Contracts | Solidity, OpenZeppelin, Hardhat | On-chain logic for identity (SBTs), provider registry, and ZK verification |
| ZK Circuits | Circom, snarkjs | Logic for generating and verifying proofs of medical data eligibility |
| Encrypted Storage | Nillion Network | Secure, distributed storage for patient medical records |
| Identity | Human Passport (Gitcoin) | Sybil-resistant humanity verification without KYC |
contracts/
├── core/ # Identity & Account Management
│ ├── HealthIdentitySBT.sol - Soulbound token for health identity
│ ├── PatientSmartAccount.sol - Multi-chain smart account (CREATE2)
│ ├── PatientAccountFactory.sol - Factory for deterministic addresses
│ └── MedicalProviderRegistry.sol - Certified provider registry
│
├── studies/ # Clinical Trial Management
│ ├── StudyRegistry.sol - Study publication and management
│ ├── StudyParticipationSBT.sol - Soulbound participation certificates
│ ├── StudyEnrollmentData.sol - Enrollment tracking and compliance
│ └── ComplianceScore.sol - On-chain reputation scoring
│
├── funding/ # Research Funding & Escrow
│ ├── ResearchFundingEscrow.sol - Milestone-based funding
│ ├── CommitmentVault.sol - Two-party escrow for RWA NFTs
│ └── CommitmentVaultFactory.sol - Factory for commitment vaults
│
├── zk/ # Zero-Knowledge Verifiers
│ └── EligibilityCodeVerifier.sol - Groth16 verifier for eligibility proofs
│
└── nft/ # Real-World Asset NFTs
└── StudyAccessNFT.sol - Transferable study access vouchers
StudyParticipationSBT (Soulbound Token):
- Non-transferable certificate of verified participation
- Minted after ZK proof verification and enrollment
- Represents completed study participation
- Used for compliance scoring and reputation
StudyAccessNFT (Transferable RWA NFT):
- Transferable voucher for study access
- Minted by sponsor before patient enrollment
- Can be deposited in CommitmentVault as collateral
- Optional pre-approval mechanism
HealthIdentitySBT.sol
- One SBT per patient, linked to Human Passport
- Stores Nillion DID for encrypted medical records
- Provider attestation system for medical data
- Voucher-based minting with signature verification
PatientSmartAccount.sol & PatientAccountFactory.sol
- CREATE2 deployment for same address across all EVM chains
- Social recovery mechanism
- Batch transaction support
- Direct SBT claiming capability
StudyRegistry.sol
- Study publication by researchers
- ZK proof verification for anonymous applications
- Study metadata and eligibility criteria (IPFS)
StudyParticipationSBT.sol & StudyEnrollmentData.sol
- Dual SBT minting (patient + institution)
- Separation of token logic from enrollment data
- Compliance level tracking (1-3)
- Interaction counting for reputation
CommitmentVault.sol & CommitmentVaultFactory.sol
- Two-party escrow for StudyAccessNFT tokens
- Requires enrollment with compliance level >= 2
- Mutual approval for redemption or dissolution
MedicalProviderRegistry.sol
- Multi-level provider certification
- Role-based access control
- Provider verification and attestation rights
To run the project locally, please ensure you have Node.js (v18+) and pnpm installed.
-
Clone the repository:
git clone https://github.com/edsphinx/veritas-zero-health.git cd veritas-zero-health -
Install all dependencies:
pnpm install
-
Run the development server:
pnpm dev
The main web application will be available at
http://localhost:3000. -
Build the browser extension:
cd packages/browser-extension yarn buildLoad the
distfolder in Chrome as an unpacked extension.
DASHI smart contracts are deployed and verified on multiple testnets:
Explorer: https://sepolia-optimism.etherscan.io
| Contract | Address | Explorer |
|---|---|---|
| MockUSDC | 0x663b53A91f737996D6593cbDDeA772aa9f6D3203 |
View |
| MockHumanPassport | 0x20719fbCe235e8C2521c37Dd64D8e9cbBD173F4b |
View |
| MedicalProviderRegistry | 0x1DdFC7907F20cB2219Bcc7D041B6fCE7b91509a9 |
View |
| HealthIdentitySBT | 0xfE51AEAe648A089d4c400A406d024BAa5FB02d47 |
View |
| PatientAccountFactory | 0xede89B4095cba12624c5918Ecc8DF35CF8079d79 |
View |
| StudyParticipationSBT | 0x5993DfE463Dee2D1aCA06fDBAb3FC1b9EE57423F |
View |
| StudyEnrollmentData | 0x809a3D8F59934350f62cc69915a0c3be93c06687 |
View |
| EligibilityCodeVerifier | 0xfc7E63bC47dde35a849dD10A942DCb10C8318845 |
View |
| StudyRegistry | 0xFf61e748c483b60D2be192F3C0502122458C7529 |
View |
| ResearchFundingEscrow | 0xEDf1D1Ee5D0D4E7f022E7db0746fF7b942b91FBD |
View |
| CommitmentVaultFactory | 0x574b30123c2dD4aC47c74a529B3a089b41F91fbe |
View |
| StudyAccessNFT | 0x3154d0aD15CA81a72e1E4c8945b0532c4193a9BF |
View |
| ComplianceScore | 0xCfc4B6199D8a683238d1D63be884bB6FB87f7cD7 |
View |
Explorer: https://celo-sepolia.blockscout.com
| Contract | Address | Explorer |
|---|---|---|
| MockUSDC | 0xeBB25B01faEe3CAa2E6E3f9d71Dc65CC667aba7f |
View |
| MockHumanPassport | 0x0540017f66790FdaaDFE2c84b50935012bCA3B5e |
View |
| MedicalProviderRegistry | 0x4b522F9B0a5A16A26b909a4F62220a5e71c91adB |
View |
| HealthIdentitySBT | 0xf968E708a00f78729Dcf1c46325FB215bF3927f6 |
View |
| PatientAccountFactory | 0x68cd4591a0309474056E8c27F61071E610392917 |
View |
| StudyParticipationSBT | 0x2DE8f450ed6745bBf73210B3fcB05982CD9b7A1e |
View |
| StudyEnrollmentData | 0xDD01F974dA09458b7cCFc4B9B976d90A38Ba8a83 |
View |
| EligibilityCodeVerifier | 0xe1D4C921f5eFFaDB2A97452e805302ADb8e315C4 |
View |
| StudyRegistry | 0x129289611b05e79eCdAE2a89aFC8d0586c081Ca6 |
View |
| ResearchFundingEscrow | 0x2E5B3b417087f1c19Ff6B804baEaA6CB8C7561fB |
View |
| CommitmentVaultFactory | 0xF9c01EB82F2f60d59eD0Ad8C3613d79d642Ea1D2 |
View |
| StudyAccessNFT | 0xAD68036898fc4209b061361426171aD13eFfAcf3 |
View |
| ComplianceScore | 0x54b2Dc133cC10dCe7628eEe2101F31Ed6AD82b06 |
View |
Explorer: https://celo-alfajores.blockscout.com
| Contract | Address | Explorer |
|---|---|---|
| MockUSDC | 0xf968E708a00f78729Dcf1c46325FB215bF3927f6 |
View |
| MockHumanPassport | 0x4b522F9B0a5A16A26b909a4F62220a5e71c91adB |
View |
| MedicalProviderRegistry | 0x68cd4591a0309474056E8c27F61071E610392917 |
View |
| HealthIdentitySBT | 0x2DE8f450ed6745bBf73210B3fcB05982CD9b7A1e |
View |
| PatientAccountFactory | 0xDD01F974dA09458b7cCFc4B9B976d90A38Ba8a83 |
View |
| StudyParticipationSBT | 0xe1D4C921f5eFFaDB2A97452e805302ADb8e315C4 |
View |
| StudyEnrollmentData | 0x129289611b05e79eCdAE2a89aFC8d0586c081Ca6 |
View |
| EligibilityCodeVerifier | 0x2E5B3b417087f1c19Ff6B804baEaA6CB8C7561fB |
View |
| StudyRegistry | 0xF9c01EB82F2f60d59eD0Ad8C3613d79d642Ea1D2 |
View |
| ResearchFundingEscrow | 0xAD68036898fc4209b061361426171aD13eFfAcf3 |
View |
| CommitmentVaultFactory | 0x54b2Dc133cC10dCe7628eEe2101F31Ed6AD82b06 |
View |
| StudyAccessNFT | 0x546992ed4BeF8Db89B5343feaDBCEf24b9E2B2b8 |
View |
| ComplianceScore | 0x326335137a685D55410537aaACF4dBF249B053C7 |
View |
Note: All contracts are verified on their respective block explorers. Click the "View" links to see the verified source code and interact with the contracts.
- DASHI SBT implementation
- Browser extension with DID generation
- Human Passport integration
- Nillion encrypted storage
- Multi-chain Smart Account deployment
- Provider dashboard
- Medical provider registry contract
- Expanded ZK Circuit Library for clinical trial criteria
- Anonymous research participation with ZK proofs
- ReFi reward distribution for data contribution
- Impact tracking and metrics
- DAO Governance for protocol decisions
- Mobile Application (iOS/Android)
- Integration with EHR Systems
- Multi-language support
- Government health system partnerships
We welcome contributions! Please see our Contributing Guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: https://github.com/edsphinx/veritas-zero-health
- Documentation: See DASHI_ARCHITECTURE.md
Built for a regenerative future
DASHI - Your health, your identity, your sovereignty