Daak

Every parcel handoff on India's buses proven, and drivers paid by the km and kg at each handover.

Daak

Created At

ETHGlobal Mumbai

Project Description

In UP and Bihar, manufacturers send parcels to small-town shops on buses, often across two buses with a driver-to-driver handoff at a bus stand. Nobody signs at the handoff, every driver quotes a different rate, drivers are paid in cash with no record of their work, and when a parcel arrives torn, everyone blames the next person.

Daak puts a meter, a receipt and a payout on the network that already runs. A shop taps a new parcel with its Android phone, picks the receiver and the best-rated driver for each stretch, enters the parcel's weight and size (priced on every charged kg, so each driver's pay follows the parcel), and its agent pays the exact booking over x402 on Hedera from the shop's prepaid rupees. Drivers join with their Google account; no wallet, no sticker. At every bus stand, the driver taps the parcel's NFC sticker, scans the next person's code (a QR their phone signs, good for two minutes and once) and photographs the lid, so both phones sign the handoff with keys in their secure hardware, and GPS is added. With only one phone, the next person taps their badge instead. A sealed vision model on 0G checks the photo: right parcel, right stop, still sealed. If 0G cannot answer, the handoff is recorded as "not checked by AI" and the money waits; nothing is faked.

Each driver gets 50, 70 or 90% of their stretch's pay the moment the next person confirms the handover (more as their public record grows) and the rest after delivery, held in a Hedera scheduled transfer that releases itself unless the shop files a claim; then the responsible driver's held pay repays the shop. Pay is redeemed to UPI. Drivers can save in Bachat and unlock fuel advances from their proven record, and vouch for new drivers on their corridor, staking their own record on it. IDs are read by the same sealed AI before an operator verifies them. Every booking pays its own share of the AI checks: 2% of its fee on Hedera, the same value in 0G into Daak's own compute account. The receiving shop tracks the parcel by tapping it with any phone. Nobody sees a wallet or a token.

Live on testnet: https://daak-ethglobal.vercel.app (every delivery read-only at /live, the network map at /network).

How it's Made

  • Android app in Kotlin and Jetpack Compose: NFC reader mode, the system camera, GPS, Hindi or English with Hindi text-to-speech, an offline outbox, a P-256 key in the Android Keystore that signs every handoff. People sign in with Google (Credential Manager, token verified on the server) or a badge; at a handoff the other person shows a QR their phone signs, so both phones sign, with a badge tap as the one-phone fallback; vouching by scanning a newcomer's code.
  • Next.js 16 on Vercel for the API and the web pages; no database: Arkiv is the store.
  • Hedera with the JavaScript SDK and no Solidity: x402 bookings settled in dINR (Daak's HTS rupee-credit token with a 2% fractional custom fee) through the official facilitator, per-shop agent accounts with spend controls and catalogue discovery, escrow, advances, holdbacks as long-term scheduled transactions (waitForExpiry) that execute themselves, refunds by deleting the schedule, an HCS topic as the public log, the mirror node for balances and work records.
  • 0G compute for a sealed (TeeML) vision check in private, TEE-only mode, with a 20 second budget and a safe-stop, and 0G Storage for the decision log; Daak's own 0G Direct compute account, topped up by every booking, pays for the checks.
  • Arkiv for people, bookings, handoffs, daily orders and preferences, with expiry; Swarm for the lid and ID photos, encrypted, with the reference sealed before it reaches Arkiv.
  • Data for the network map: India Post's pincode directory (GODL-India), OpenStreetMap bus stations (ODbL), OSRM road routes.
  • The landing page's one-minute hero film is rendered in code by raea (React on Bevy) as cut paper, with its captions laid over it from the same timeline.
  • Hacky bits: the meter charges road km taken from OSRM; the holdback release needs no server at all, because the schedule waits for its own expiry.
background image mobile

Join the mailing list

Get the latest news and updates

Daak | ETHGlobal