Skip to content
N

NIRBHAYA

Using Ethereum india, decentralized safety Routes

Created on 18th November 2025

•

N

NIRBHAYA

Using Ethereum india, decentralized safety Routes

The problem NIRBHAYA solves

Using Ethereum India, NIRBHAYA lets people trigger secure, verifiable emergency alerts and share trusted location data so help arrives faster and evidence stays intact.

What people can use it for and how it makes tasks easier/safer:

Instant SOS: one-tap alerts to trusted contacts, nearby volunteers, and responders with your verified location.

Tamper‑proof incident records: blockchain-stored timestamps and logs provide immutable evidence for police or legal use.

Privacy-first sharing: selective, permissioned location disclosure so you control who sees what and when.

Faster, coordinated response: automated routing to nearest responders and community networks reduces response time.

Reduced false alarms: multi-source verification (device, wearable, witness confirmations) lowers unnecessary escalations.

Resilience: decentralized design avoids single-point failures common to central servers or proprietary apps.

Challenges we ran into

Gas costs and user friction

Challenge: Asking non-crypto users to pay gas for emergency actions made adoption impossible.
How we solved it: Implemented gasless flows using a relayer/meta-transaction pattern (users sign intent off‑chain; a relayer submits to chain). We also minimized on‑chain writes (store hashes + small event data) and batched writes where possible to reduce cost.
Transaction latency vs. real‑time response

Challenge: Blockchain confirmations are slow, but SOS needs instant feedback.
How we solved it: Used local/native push notifications and server-side relays for immediate alerting while writing a compact, verifiable record to the chain asynchronously. The app shows an immediate “alert sent” state and updates when on‑chain proof arrives.
Privacy and PII concerns

Challenge: Storing precise locations or personal data on-chain would violate privacy expectations and some laws.
How we solved it: We only write hashes/timestamps on-chain and keep encrypted location/media off‑chain (IPFS with encryption). Location payloads are encrypted to specific recipient public keys so only intended parties can decrypt.
False alarms and trustworthiness of alerts

Challenge: A single accidental tap could trigger full escalation.
How we solved it: Added multi-source verification options (optional wearable/button confirmation, witness confirmations) and a configurable short cancel window. We also implemented threshold confirmation and confidence scoring before escalating to formal responders.
Onboarding non‑crypto users and key management

Challenge: Target users don’t have wallets or don’t want to manage private keys.
How we solved it: Added optional custodial/phone-verified accounts, social recovery, and wallet abstraction (smart accounts / account abstraction) so users get a simple one‑tap UX while still retaining cryptographic proofs.
Integrations with legacy emergency services

Challenge: APIs and procedures differ widely between local authorities and NGOs.
How we solved it: Built modular adapters and fallback pipelines (SMS, email, push) and created a small integration guide for partner NGOs to map incoming events into their systems. We also created a prioritized escalation workflow to avoid flooding responders.
Mobile background tracking & OS restrictions

Challenge: Background location and long-running tasks are restricted on Android/iOS and behave differently across vendors.
How we solved it: Implemented platform‑specific foreground service patterns for Android, explicit permission flows, and a minimal battery‑friendly sampling strategy. We also educate users during onboarding about required permissions for reliable behavior.
Testing and security

Challenge: Hard to test mixed on‑chain/off‑chain flows and edge failure modes (network loss, partial writes).
How we solved it: Built unit and integration tests on Hardhat/Ganache, simulated network partitions, used static analysis tools (OpenZeppelin libs, linters, Slither/MythX where feasible) and ran scoped pen tests. We also added end‑to‑end scenarios and chaos testing for real-world failure modes.

Discussion

Builders also viewed

See more projects on Devfolio