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 distributions
- World ID Volunteer Verification: Only verified volunteers can register families and distribute aid
- Aadhaar Integration: Secure government-ID verification via Self Protocol's zero-knowledge proofs
- Real-time Analytics Dashboard: NGOs can see exactly which regions are underserved and need more resources
- Data-Driven Resource Allocation: Live maps and statistics showing aid distribution patterns and gaps
- Regional Impact Tracking: Precise tracking of aid effectiveness across different disaster-affected areas
- QR Code System: Quick and capable distribution tracking through QR codes
The 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.
How It's Made
Tech Stack & Architecture:
- Frontend: Next.js 15 with TypeScript, built as a World Chain Mini App using MiniKit SDK
- Blockchain: Smart contracts deployed on World Chain (Superchain ecosystem)
- Identity Verification: Dual-layer approach with World ID for volunteers and Self Protocol for Aadhaar verification
- UI Framework: World App Mini Apps UI Kit for native World App experience
- Development Tools: Hardhat for contract development, Jest for testing
Key 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 interactions
- Leveraged World Chain's free gas transactions for humanitarian use case
- Self Protocol Integration:
- Implemented offline Aadhaar QR code verification using @selfxyz/core and @selfxyz/qrcode packages
- Generated zero-knowledge proofs for identity verification without storing personal data on-chain
- Created privacy-preserving family registration system
- Notable Technical Implementations:
Dual Authentication System:
World ID for volunteer verification combined with Aadhaar verification for beneficiaries
- URID Generation: SHA-256 hashing of Aadhaar data to create unique family identifiers
- Offline-First Design: QR codes work without internet connectivity, syncing when connection is restored
- Mobile-Optimized Mini App: Built specifically for World App with responsive design and touch-friendly interfaces
Particularly Hacky/Notable Elements:
- Cross-Chain State Management: Custom hooks managing both on-chain World Chain data and off-chain Self Protocol verifications
- QR Code Bridge: Converting Aadhaar QR data into blockchain-compatible family identifiers while maintaining privacy
- Session Restoration: Built a volunteer session management system that works across World App navigation
- Real-time Updates: WebSocket-like updates for distribution tracking without constant blockchain polling