OpenBox is a checkout where the buyer pays upfront, but the seller is paid only when the right box is verified at the buyer's door.
The problem: online buyers and sellers don't trust each other. Buyers fear getting a soap bar instead of a phone. Sellers fear fake "it was empty" claims. So many people use cash on delivery: couriers carry cash, refused parcels travel both ways, and sellers wait days for their money.
How OpenBox works:
- The buyer pays in USDT on Whitechain. There's no gas and no wallet popup: the buyer signs once and our relayer pays the fee.
- The money is held in the DeliveryCheckout contract, not sent to the seller.
- A courier delivers the box. The courier proves they're the same person at pickup and at the door with World ID (simulated in the hosted demo).
- The buyer opens the box in front of the doorbell camera. The household's AI agent finds an independent inspector and pays it per check over x402 on Hedera, with no human involved. The inspector checks the serial number and condition, logs the verdict on Hedera and returns a signed result.
- One settle call on Whitechain then moves the money:
- Right item: the seller and courier are paid.
- Wrong item: the buyer is refunded.
- Damaged: the agent can accept a partial refund only after the household owner approves on their phone with World ID Agent Pass.
- Get paid early: a seller doesn't have to wait for delivery. They can sell the unpaid order to a lender as a ReceivableNote token on Whitechain and get USDT today. When the delivery is verified, the same settle call repays the lender automatically. Notes can only move between approved lenders, and a small seller bond covers wrong-item or damage losses.
What we built:
- Solidity contracts on Whitechain Sepolia, all verified on the explorer, with 60 Foundry tests.
- A drop-in checkout SDK: a store adds it in about 15 lines.
- Separate apps for the merchant, the household (deliveries, doorbell, AI agent spending limits, approvals), the courier and the lender.
- An x402-paid AI inspection service and a household agent with a spending policy (budget, max price, allowlist). It refuses inspectors that are too expensive and pays the cheapest one.
- A real World ID Agent Pass approval flow against auth.world.org, with the ID token checked on our server.
Business: an example merchant with $400k a month in sales wastes about $8k a month on refused parcels. A 0.75% fee earns $3k per merchant per month and still saves the merchant money. Lending against verified deliveries adds a second revenue line. The same flow scales to factory docks, warehouses and cross-border trade.
Everything is live on testnet: real USDT payments, settlements, refunds, a lender repaid at delivery, an x402 payment on Hedera, and a refund approved with a real Orb-verified World ID.
Monorepo: Solidity contracts (Foundry), a Node/Fastify backend, an AI inspection service, a checkout SDK and Next.js apps.
Whitechain:
- DeliveryCheckout holds each order's official USDT and pays out in one settle call: seller, courier or buyer refund.
- Gasless checkout: official USDT supports EIP-3009, so the buyer signs once and our relayer pays the gas. The relayer is capped by function allowlist, gas, rate and daily budget.
- ReceivableNote (ERC-721) turns an unpaid order into an invoice token. A lender pays the seller today and is repaid automatically at delivery.
- All contracts are verified on the explorer, with 60 tests.
Hedera:
- Inspectors list their URL and price on an HCS topic.
- The household AI agent reads that list, checks its budget, and pays the cheapest inspector per check over x402 with HTS USDC, with no human involved. Payments and verdicts are logged to HCS.
- Benefit: inspection becomes a paid service any agent can use, with no API keys or invoices.
World ID:
- Agent Pass: before the agent accepts a partial refund, the household owner approves on their phone via auth.world.org. We verify the signed ID token on our server, including Orb level and the same owner each time.
- The courier check uses IDKit. It's simulated in the demo because the sandbox app returned feature_unavailable.
Hacky bits:
- Test USDT can't be minted, so we swap testnet WBT for it on Whitechain's Uniswap pool to fund demo buyers.
- Four Node services didn't fit in Render's free 512 MB, so we run one process per service and a single inspector on the hosted version.
- World can't bind a message to the approval yet, so we tie each approval to one order on our server.
- Judges without World App get a clearly labelled "simulated approval" so they can finish the flow.