Numa

Gasless USDT checkout that pays creators only when a real sale settles. Fake clicks earn $0.

Numa

Created At

ETHGlobal Mumbai

Project Description

numa is a drop-in USDT checkout and creator marketplace on Whitechain Sepolia. Advertisers usually pay for clicks, and bots fake clicks, so merchants pay for traffic that never buys. With numa a creator earns a commission only when a real, buyer-authorized USDT payment settles on-chain.

A merchant creates a campaign with a commission rate. Creators publish a profile and an offer, get approved, and share an attribution link. A buyer pays in USDT with one signature and no gas token: the merchant signs the order, the buyer signs an EIP-3009 authorization, and our relayer submits it. NumaRouter splits the payment atomically: the merchant's net, the creator's commission (held by the contract through a refund window, then released automatically) and a protocol fee. If a refund happens inside the window the held commission is clawed back. The business never holds the money in between.

Every settled sale produces a public receipt, and a creator's reputation counts only conversions that match an on-chain OrderSettled event, so history cannot be faked. Merchants get an accountant-ready CSV export. Optional negotiation agents can haggle the commission over Arkiv inside private limits, and the merchant still signs the final on-chain step.

How it's Made

Contracts (Foundry, OpenZeppelin): CampaignRegistry and NumaRouter, deployed and verified on Whitechain Sepolia. The buyer's EIP-3009 nonce is an EIP-712 commitment to the full order and split, which the router recomputes, so a relayer cannot swap the creator, amount or terms. 55 unit, fuzz and invariant tests.

Backend (Node, Fastify, viem, Postgres): a relayer that only calls the router, verifies both signatures locally, simulates first, and enforces a gas ceiling, daily cap and per-address limit; a reconciler for uncertain sends; an indexer; and a keeper that releases commission after the refund window using chain time. We rehearsed the whole flow on an anvil fork of Whitechain Sepolia against the real USDT proxy, which caught a real out-of-gas bug before launch.

Arkiv (SDK 1.0.1 on Rabdi): campaigns, offers, decisions, links, conversions, profiles, invites, endorsements and negotiation messages are wallet-owned entities with expiry. Anyone can write any entity, so every read checks the owner and, for money, the chain. Writes go through a serialized safe writer with explicit nonce, gas and gas price, and we verified browser-wallet-style writes.

Frontend and SDK: React and Vite, plus an sdk-react checkout component and a demo shop that adds it in about 20 lines. Agents use a rules engine for every decision; Gemini or Claude only phrases a note. Hosted on Render and Vercel.

background image mobile

Join the mailing list

Get the latest news and updates

Numa | ETHGlobal