FirstNet — Help Before the Ambulance
Inspiration
A cardiac arrest patient has a 90% survival rate if someone nearby performs CPR immediately. That rate drops by 10% every minute without intervention. 911 takes 8–12 minutes.
The math is brutal:
$$S(t) = 90\% - 10\% \times t$$
Where $t$ is minutes without intervention. By the time 911 arrives, survival odds are cut in half. The solution felt obvious — what if your phone could reach a trained neighbor in under 2 minutes?
What it does
FirstNet is a community emergency response network. When someone needs help, they tap SOS, describe their situation, and the Anthropic Claude API reads it in real time — triaging severity, identifying the emergency type, and routing to the nearest helper with the right skills and equipment. Not just the closest person. The right person.
Helpers get a live map, real-time chat, and guidance on what to bring before they arrive. When the emergency is resolved, they earn SOL on Solana as a thank-you for showing up.
How I built it
Single HTML file. No backend, no build step, no framework.
- Anthropic Claude API — real-time AI triage and in-chat guidance between helper and requester
- Solana Web3.js — on-chain SOL rewards on devnet for every resolved emergency
- Auth0 — identity, MFA, and social login so requesters know exactly who's coming
- Leaflet.js — live maps with helper tracking and routing
- Groq — low-latency LLM inference for the chat layer
Challenges
The hardest part wasn't technical — it was trust. How do you build a product where a stranger shows up at your door during the worst moment of your life and you feel safe?
Auth0 verified credentials, skill badges, real names, and live location tracking was my answer. It's not perfect, but it's a foundation.
On the technical side: Solana's public devnet RPC rate-limits requestAirdrop aggressively.
I built a multi-RPC fallback chain and a web faucet deeplink as a last resort so rewards
never silently fail.
What I learned
Claude doesn't just classify text — it reasons. The difference between "chest hurts" and "chest hurts, left arm numb, sweating" changes the entire response: severity, helper skills required, guidance shown. That nuance matters when minutes count.
What's next
- Real Solana mainnet integration with a community treasury
- Push notifications for incoming SOS alerts
- Verified responder network (EMTs, nurses, off-duty firefighters)
- City partnerships for infrastructure data — traffic, AED locations, hospital capacity
Built With
- anthropic-claude-api
- auth0
- css
- groq
- html
- javascript
- leaflet.js
- solana
- solana-web3.js
Log in or sign up for Devpost to join the conversation.