Trivvo

Shops pay real humans to visit. World ID stops bots, 0G AI checks photos, Hedera proves payouts.

Trivvo

Created At

ETHGlobal Mumbai

Project Description

Tr!vvo pays people to explore their city. A café, shop or venue creates a "hunt": a short visit plus a few photo tasks (e.g. "take a photo of the laptop at the counter"). It funds the hunt with USDC, which sits in escrow until someone actually earns it. The shop prints a QR code for its counter.

A hunter opens Tr!vvo inside World App (no extra wallet needed) or any browser, walks in and scans the code. A location check confirms they are really there. Before any money moves, World ID proves they are a unique human for this specific hunt, so one person with 100 wallets can only claim once. Small rewards need Proof of Human; rewards above $5 need a stronger credential. Once verified, the arrival reward is paid instantly.

Then the hunter does the tasks. Each photo goes to a vision model on 0G Private Computer, which judges it against a rubric that 0G wrote when the hunt was created. Approved photos pass with a confidence score and a 0G request ID; a bad photo gets a clear reason and a retake; an unsure verdict goes to the shop for review, never a silent pass. When every task passes, the main reward is paid automatically. No shop staff has to check photos or pay anyone by hand.

Every step (funded, human verified, arrival paid, photo approved, reward paid, stamp sent) is written to a public Hedera log, so anyone can check that the shop really paid and that the AI really approved the photo. Each finished hunt also earns the hunter a stamp, a Hedera token, and shops get a public trust score built from that log.

Ads pay platforms to be scrolled past. Tr!vvo pays real humans to show up, and proves every payout.

How it's Made

Frontend: React 19 + Vite, wagmi/viem for wallets, deployed on Vercel. It also runs as a World Mini App via MiniKit, so inside World App the hunter uses the World App wallet and native World ID verification. QR scanning uses the live camera with a jsQR fallback for phones where the native barcode API is missing. Photos are downscaled in the browser before upload to keep AI calls fast and cheap.

Backend: Node + Express + PostgreSQL on Render. Wallet sign-in supports both EOA and Safe smart-account signatures; every shop route checks ownership; the QR secret is never public; paid AI calls are capped.

World: IDKit 4.6 with a separate action per hunt, so the nullifier is unique per hunt rather than global: one human = one claim per hunt, while the same human can still join other hunts. Proofs are verified server-side and the nullifier is stored before any payout. Rewards above $5 require a stronger credential than Proof of Human. USDC escrow and payouts settle on World Chain.

0G Private Computer: called through the OpenAI-compatible 0G Router (model 0gm-1.0-35b-a3b) in private trust mode, so runs are attested in a TEE. 0G is used twice: (1) at hunt creation it turns each free-text task into a precise "what the photo must show" rubric; (2) at check time a vision call judges the photo against that rubric and returns ok / confidence / reason. The 0G request ID is stored per attempt and shown to the hunter and on the public receipt. The verdict directly decides whether money moves: auto-pay, retake with a reason (max 5), or shop review if 0G is unsure or down.

Hedera (SDK only, no smart contracts): the @hashgraph/sdk publishes every hunt event to a Consensus Service topic as a public receipt log, mints a TVSTAMP Token Service token to each hunter who finishes a hunt, and the receipt page, trust score and stamp count read back from the Mirror Node. Anyone can open the HashScan link on a receipt and see the 0G request ID inside the message.

Hacky bits: per-hunt World ID actions to get per-hunt sybil resistance; using an HCS topic as a tamper-proof audit trail tying an AI verdict to a payment; and a "never silent pass" rule so an AI outage can't release money.

background image mobile

Join the mailing list

Get the latest news and updates