Skip to content
All work

NexusAid (Web3)

Web

A disaster-relief platform that moves funds through smart contracts.

Visit the site Source

releif.vercel.app
NexusAid home page: the headline Rooted in community, grown through care beside a photograph of many hands joined together

NexusAid helps communities during emergencies. It pulls live USGS/NOAA feeds for hazard mapping, uses AI to match volunteers, and uses Web3 smart contracts so resource distribution is transparent and immutable.

Problem

During emergencies, relief fund distribution is often opaque and inefficient, which leads to misallocation. Coordinating volunteers as risks change is also chaotic.

Approach

Built a Next.js app with Firebase for real-time state. Wrote and deployed Solidity smart contracts that escrow relief funds. Added Leaflet for risk mapping and Gemini AI to optimise dispatching.

Next.js, Solidity, Hardhat, Firebase, Ethers.js, Gemini AI

What I built

  • Live USGS and NOAA feeds for hazard mapping on a Leaflet map.
  • Volunteer matching and dispatch optimised with Gemini AI.
  • Solidity smart contracts, written and deployed, that escrow relief funds.
  • Firebase for real-time state.

Architecture

Live hazard feeds drive a risk map; Firebase holds real-time state; Gemini dispatches volunteers; smart contracts escrow relief funds.
Read the diagram as text
  1. USGS and NOAA live feeds to Leaflet risk map
  2. Next.js app to Leaflet risk map
  3. Next.js app to Firebase (real-time state)
  4. Next.js app to Gemini AI (volunteer dispatch)
  5. Next.js app to Solidity smart contracts
  6. Solidity smart contracts to Relief funds in escrow

How a request flows

One dispatch: hazard data comes in, state is kept in Firebase, and Gemini optimises who goes where.
Read the diagram as text
  1. USGS and NOAA feeds to Next.js app: hazard data
  2. Next.js app to Firebase: keep real-time state
  3. Next.js app to Gemini AI: volunteers and risks
  4. Gemini AI to Next.js app: optimised dispatch

Decisions and trade-offs

  • Smart contracts that escrow relief funds

    WhyResource distribution becomes transparent and immutable.

    CostWriting secure contracts forced a defensive programming mindset.

  • Firebase for real-time state next to an on-chain ledger

    WhyWeb2 speed for the live parts, Web3 security for the funds.

    CostThe two worlds have to be bridged.

  • Gemini AI to optimise dispatching

    WhyCoordinating volunteers is chaotic as risks change.

    CostDispatch depends on an AI service.

What was hard

Combining an immutable ledger with live maps taught me how to bridge Web2 speed with Web3 security. Writing secure smart contracts forced a defensive programming mindset.

Screenshots

releif.vercel.app
NexusAid home page: the headline Rooted in community, grown through care beside a photograph of many hands joined together
releif.vercel.app
NexusAid section titled Every gesture shapes the community, with two actions: Volunteer your time and Support financially
releif.vercel.app
NexusAid closing section on a green band: Ready to make a real difference, with apply and log in buttons
NexusAid home page on a phone: the headline Rooted in community, grown through care above a photograph
SYNQ Workspace (Flux Whiteboard)Next project