project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Rehab DAO

"Recover Privately, Celebrate Socially" Empowering addiction recovery through decentralization

Rehab DAO

Created At

ETHGlobal New York 2025

Project Description

🌐 Rehab DAO: Recover Privately. Celebrate Progress. Support Change. The Problem: Privacy vs. Progress in Recovery Imagine trying to get better from addictionβ€”while the whole world can see your struggle.

That’s the harsh reality for millions who want to recover but fear judgment, stigma, or the risk of losing their jobs, families, or scholarships if their recovery journey becomes public.

Traditional recovery programs force you to choose:

βœ… Get help and risk everyone finding out

❌ Stay private but lose accountability and support

The Solution: Rehab DAO Rehab DAO is the world’s first privacy-first recovery platformβ€”giving you the best of both worlds. No more tradeoff between your privacy and your progress.

πŸ›‘οΈ Complete Privacy Anonymous Recovery: Your real identity stays completely private

Blockchain Protection: Your progress is recorded on the blockchain, but only you can connect it to your identity

Zero Judgment: No one knows who you areβ€”only that you're making progress

🎯 Proven Progress Verifiable Achievements: Every therapy session is logged as an unchangeable blockchain record

Community Recognition: Receive encouragement for your progressβ€”without ever revealing your identity

Professional Credibility: Therapists can verify your recovery journey for professional purposes when you allow it

🀝 Supportive Community Anonymous Support Groups: Connect with others in recovery safely and discreetly

24/7 Global Community: Get support whenever you need itβ€”day or night

Shared Experience: Learn from those who truly understand what you’re going through

How It Works (In Simple Terms)

  1. Start Your Journey πŸ”’ Sign up anonymouslyβ€”no personal information required

🎭 Get assigned a private identity (e.g., recovery-warrior.rehabdao.eth)

🀝 Connect with verified therapists and community members

  1. Track Your Progress πŸ“ After each therapy session, your therapist creates a private blockchain record

πŸ”— This record is permanent and unchangeable, but only you and your therapist know it’s yours

πŸ“¨ Share your progress with employers, courts, or familyβ€”without revealing your identity

  1. Build Your Support Network πŸ’¬ Join anonymous support groups

πŸŽ‰ Share your victories and challenges

πŸš€ Get encouragement, celebrate milestones, and support others

Real-World Benefits For People in Recovery Keep Your Job: Prove commitment to employers without revealing your identity

Stay in School: Show schools you’re on a recovery path

Family Support: Families can follow your progress while you keep details private

Legal Compliance: Supply evidence of treatment to courts or probation officers as needed

Personal Pride: Watch your own progress and celebrate achievements in anonymity

For Therapists Better Outcomes: Patients remain in treatment longer with privacy protection

Professional Records: Create verifiableβ€”but secureβ€”patient progress logs

Community Building: Collaborate with recovery professionals across the globe

Reduced Stigma: Help your clients focus on healing, not hiding

For Employers Support Employees: Offer genuine support without risking privacy intrusion

Legal Protection: Secure, verifiable treatment compliance if required

Reduced Turnover: Recovery support = stronger, more loyal teams

Corporate Responsibility: Demonstrate real commitment to wellness

Why Blockchain Makes This Possible Think of the blockchain as a digital notary that never forgets and never lies:

Permanent Records: Progress can never be deleted or altered

Privacy by Design: Records exist but don’t reveal who you are

Verifiable: Anyone can check that a recovery record is real, but only you can prove it’s yours

Trustworthy: No one can fake, edit, or manipulate recovery records

✨ Your recovery journey starts hereβ€”and it stays private. ✨

How it's Made

For FULL Developer Documentation - https://github.com/Dasika-Vaishnavi/Rehab-DAO/tree/main?tab=readme-ov-file#chapter-1-project-overview--architecture

Project Overview & Architecture What is Rehab DAO? Rehab DAO is a privacy-first addiction recovery platform leveraging blockchain to provide anonymous progress tracking, verifiable therapy session attestations, and a supportive, pseudonymous community. It solves the crucial need for privacy and trusted accountability in addiction recovery.

Mission & Vision Mission: Enable private, effective recovery while building communities and verifiable progress records.

Vision: Decentralize recovery support where privacy, community, and trust coexist through blockchain.

Key Stakeholders Stakeholder Role Purpose Patients Primary Users Anonymous recovery tracking, peer support Therapists Service Providers Attestation creation and therapy management Managers Community Leaders ENS subdomain assignment, platform oversight Sponsors Funders Support recovery programs, community funding System Layers Client Layer: Next.js, React, TypeScript, Tailwind CSS, Radix UI, Lucide, React Hook Form, Zod

API Layer: Next.js API routes, EAS SDK (Ethereum Attestation Service), CDP SDK, ENS (Ethereum Name Service)

Blockchain Layer: Ethereum (Mainnet & Sepolia), EAS contracts, ENS Registry

Data Layer: Coinbase CDP, EAS on-chain records, ENS on-chain identities

Data Flow Session Attestation: User action β†’ Input validation β†’ Immutable EAS attestation β†’ Indexed in CDP β†’ Real-time UI/analytics

ENS Identity: Manager action β†’ Validation β†’ On-chain ENS registry β†’ Community-recognized pseudonymous identity

Security & Privacy Model Privacy-First: No PII in storage; all identifiers are hashed; users manage ENS subdomains for identity.

Security: Secrets in environment variables; server-side for sensitive logic; comprehensive input validation; strict blockchain network checks.

Technology Stack & Dependencies Frontend: Next.js (SSR/SSG), React (Concurrent, Suspense, Hooks), Tailwind CSS, Radix UI, Lucide React

Forms & State: React Hook Form, Zod, TanStack React Query, React Context

Blockchain/Web3: Ethers.js, Wagmi, Viem, EAS SDK, ENS

Off-Chain Storage/Analytics: Coinbase CDP

Dev Tools: TypeScript, ESLint, PostCSS

Core Features Session Attestation: Verifiable, immutable blockchain proof of therapy sessions (no PII, only hashed data, always anonymous).

ENS Identity: Pseudonymous .rehabdao.eth subdomains for every userβ€”ensuring privacy with recognition.

Community Center: Peer support, anonymous chat, progress sharing, moderated environment.

Progress Tracking: Recovery metrics (sessions, duration, types, consistency); analytics remain private and insightful.

Therapist Management: Profiles, scheduling, anonymous patient tracking, secure attestation creation.

Blockchain Integration & Web3 Services Ethereum Attestation Service (EAS): Provides immutable, anonymous, schema-based on-chain attestations.

Coinbase CDP: Queryable, private, and redundant storage for analytics and compliance.

Ethereum Name Service (ENS): Human-readable, private usernames; on-chain community identity; pseudonymous social layer.

Wallet Support: Multi-wallet, mainnet and testnet onboarding flows.

Development, Deployment & Maintenance Setup: Node.js and package manager; repo with CI/CD; environment variables for all secrets.

Testing: Jest, React Testing Library, Cypress for unit and end-to-end testing.

Quality: Strict TypeScript, ESLint, code reviews, modular code architecture.

Deployment: Optimized for Vercel; CI/CD pipelines via GitHub Actions; Vercel Analytics, Sentry for monitoring.

Best Practices: Secrets always environment-protected; validation everywhere; best-in-class blockchain security.

Conclusion & Future Enhancements Rehab DAO merges modern web and blockchain technology into a privacy-preserving, verifiable, and supportive platform for addiction recovery. Its robust, secure, and modular architecture sets a new standard for digital recoveryβ€”private, scalable, and community-powered.

Planned enhancements: Mobile app, advanced analytics, API integrations, new community features, DAO-driven governance.

Key Stakeholders Stakeholder Role Purpose Patients Primary Users Anonymous recovery tracking and community support Therapists Service Providers Session management and attestation creation Managers Community Leaders ENS subdomain assignment and platform oversight Sponsors Financial Supporters Funding recovery programs and community initiatives

System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ CLIENT LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Next.js 15.2.4 β”‚ React 19 β”‚ TypeScript β”‚ Tailwind CSS 4.1.9 β”‚ β”‚ Radix UI β”‚ Lucide β”‚ React Hook Form β”‚ Zod Validation β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ API LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Next.js API Routes β”‚ EAS SDK β”‚ CDP SDK β”‚ ENS Integration β”‚ β”‚ Session Management β”‚ Attestations β”‚ User Authentication β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ BLOCKCHAIN LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Ethereum Mainnet β”‚ Sepolia Testnet β”‚ EAS Contracts β”‚ β”‚ ENS Registry β”‚ Reverse Registrar β”‚ Attestation Schemas β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DATA LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Coinbase CDP β”‚ EAS Blockchain β”‚ ENS On-chain Records β”‚ β”‚ Queryable Data β”‚ Immutable Attestations β”‚ Identity Management β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ 1.5 Data Flow Architecture 1.5.1 Session Attestation Flow User Input β†’ Form Validation β†’ EAS Blockchain β†’ CDP Storage β†’ UI Update β”‚ β”‚ β”‚ β”‚ β”‚ β–Ό β–Ό β–Ό β–Ό β–Ό Session Data β†’ Zod Schema β†’ Immutable Record β†’ Queryable β†’ Real-time 1.5.2 ENS Identity Flow Manager Input β†’ Validation β†’ ENS Registry β†’ Reverse Registrar β†’ User Identity β”‚ β”‚ β”‚ β”‚ β”‚ β–Ό β–Ό β–Ό β–Ό β–Ό Subdomain β†’ Address Check β†’ On-chain β†’ Primary Name β†’ Community Recognition 1.6 Security & Privacy Model 1.6.1 Privacy-First Design Zero PII Storage: No personally identifiable information stored in plain text Hash-Based Identifiers: Patient and therapist data hashed before storage Anonymous Attestations: EAS attestations use anonymous recipients User-Controlled Identity: ENS subdomains managed by users

Security Measures Environment Variables: All sensitive data stored in .env.local Server-Side Operations: Critical operations run server-side only Input Validation: Comprehensive validation using Zod schemas Network Validation: Strict network checking for blockchain operations

background image mobile

Join the mailing list

Get the latest news and updates