← Back to home

SewaChain

Blockchain disaster relief system with World ID & Self's Aadhaar to prevent duplicate aid.

Problem Statement

SewaChain is a comprehensive blockchain-powered disaster relief coordination system built for ETH Global New Delhi hackathon. It addresses the critical problems of duplicate aid distribution and poor resource allocation during natural disasters by creating a transparent, data-driven system that ensures efficient relief distribution and provides actionable insights to NGOs and volunteers.The Problem It Solves: During disasters like floods, earthquakes, and cyclones, the same families often receive aid multiple times while entire regions remain underserved due to poor coordination between relief organizations. There's no unified system to track distributions or provide data-driven insights about which areas need more support.Core Features:Unique Relief Identifiers (URID): Every family gets a blockchain-verified unique ID preventing duplicate distributionsWorld ID Volunteer Verification: Only verified volunteers can register families and distribute aidAadhaar Integration: Secure government-ID verification via Self Protocol's zero-knowledge proofsReal-time Analytics Dashboard: NGOs can see exactly which regions are underserved and need more resourcesData-Driven Resource Allocation: Live maps and statistics showing aid distribution patterns and gapsRegional Impact Tracking: Precise tracking of aid effectiveness across different disaster-affected areasQR Code System: Quick and capable distribution tracking through QR codesThe system operates as a World App Mini App, making it accessible to 23+ million World App users instantly, while providing NGOs and volunteers with the data they need to make informed decisions about where to deploy resources next.The key innovation is transforming disaster relief from reactive distribution to proactive, data-informed coordination where organizations can see in real-time which communities are being neglected and adjust their efforts accordingly.

Solution

How It's MadeTech Stack & Architecture:Frontend: Next.js 15 with TypeScript, built as a World Chain Mini App using MiniKit SDKBlockchain: Smart contracts deployed on World Chain (Superchain ecosystem)Identity Verification: Dual-layer approach with World ID for volunteers and Self Protocol for Aadhaar verificationUI Framework: World App Mini Apps UI Kit for native World App experienceDevelopment Tools: Hardhat for contract development, Jest for testingKey Technologies Used:World Chain Integration:Deployed two main smart contracts: URIDRegistry.sol (managing family IDs) and DistributionTracker.sol (recording distributions)Used MiniKit SDK commands like sendTransaction(), walletAuth(), and verify() for seamless blockchain interactionsLeveraged World Chain's free gas transactions for humanitarian use caseSelf Protocol Integration:Implemented offline Aadhaar QR code verification using @selfxyz/core and @selfxyz/qrcode packagesGenerated zero-knowledge proofs for identity verification without storing personal data on-chainCreated privacy-preserving family registration systemNotable Technical Implementations:Dual Authentication System: World ID for volunteer verification combined with Aadhaar verification for beneficiariesURID Generation: SHA-256 hashing of Aadhaar data to create unique family identifiersOffline-First Design: QR codes work without internet connectivity, syncing when connection is restoredMobile-Optimized Mini App: Built specifically for World App with responsive design and touch-friendly interfacesParticularly Hacky/Notable Elements:Cross-Chain State Management: Custom hooks managing both on-chain World Chain data and off-chain Self Protocol verificationsQR Code Bridge: Converting Aadhaar QR data into blockchain-compatible family identifiers while maintaining privacySession Restoration: Built a volunteer session management system that works across World App navigationReal-time Updates: WebSocket-like updates for distribution tracking without constant blockchain polling

Hackathon

ETHGlobal New Delhi

2025

Contributors