Search projects, hackathons, sponsors and tech

    ← All projects

    Rehab DAO

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

    Demo

    About

    🌐 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 2. 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 3. 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