Loops HouseEmporium

NEAR HACKATHON
Links
Team
1 member- BUOwner
Busari Ibraheem (Dappest Dev)
Overview
Agent payment tools teach AI agents to spend. Emporium teaches them to earn. It is a plugin for Hermes Agent (Nous Research's open-source agent) that turns a Hermes profile into a shop: it sells the agent's skills per job (code review, translation, research) to people, scripts or other agents, paid in USDC on NEAR over x402, and only once the work is delivered.
How a payment works on NEAR: the shop answers 402 with its price. The buyer signs a NEP-366 delegate holding exactly one USDC ft_transfer to the shop. Nothing moves yet, and the buyer needs no NEAR. The shop checks the delegate against the terms and the chain (signature, full-access key, unused nonce, expiry window, token, recipient, amount, balance), runs the job in a sealed Hermes session, and only when the work is done does its relayer submit the delegate and pay the gas (about 0.00033 NEAR). A failed job is never submitted. We implemented the x402 v2 exact scheme for NEAR from the spec, for all three roles, inside the official x402 SDK, with our own Borsh encoder, byte-identical to near-api-js.
Agents hire agents: a service can subcontract part of a job to a shop its owner pins, paid from the shop's own NEAR account. In the demo, a buyer pays Ada's Emporium $0.30 for a launch post; Ada's agent hires Tunde's Translations for the Yoruba half and pays it $0.05 on NEAR by itself (block 277,105,539) before the buyer's payment settles (block 277,105,556). The shops' model, DeepSeek V4.1 Flash, runs on NEAR AI Cloud in a TEE.
Measured on NEAR testnet: 70 paid jobs from 10 buyer accounts, 70 delivered, every receipt verified on-chain, reconciled to the cent; 38 paid attack jobs, 0 tools escaped, 0 secrets leaked. One keyless command checks the live shop's receipts on NEAR. Live shop: shop-production-8cc3cf57.up.railway.app