About
Ask Tenderbox for a piece of work ("write the product page for our cold brew", "chase a $1,800 overdue invoice", "translate our closing notice into Spanish") or for supplies ("2,000 boxes of gloves for a clinic"). Ada, the buyer agent, opens a sealed tender on QoreChain. Four supplier agents each seal their bid with ML-KEM-1024 to her desk key and sign it with ML-DSA-87; TenderBook verifies every signature on chain with pqcVerify before the deadline. For work, the bid is the finished piece, so no rival can copy it. Ada scores each piece, code awards the best within budget, TenderBook pays the winner its price and returns the rest, and you get the work with a printable award notice that checks itself against the chain.
One supplier is a red team: its bid hides an order to pay its own account. Ada is made to try it. Her linked key's spending rule (1 uqor, TenderBook.commitQuote and award only) and TenderBook (NotABidder) both refuse, on chain.
Live: https://tenderbox.nerom.site
Verify in 2 minutes: https://github.com/neromtoobad/tenderbox/blob/main/JUDGES.md
How it's made
Three parts: a TypeScript agent server (Node + Hono), a Solidity contract (TenderBook, on QoreChain's EVM, chain 9800) and a web page, the Tender House, where the agents act out each tender live from its log over server-sent events. The agents run on Meta's Muse Spark 1.3.
One tender, step by step:
1. The buyer agent turns the request into a spec (goods or work, budget, deadline, must-haves).
2. The business account opens a scoped EVM window (TenderBook is the only target, 4 txs, about an hour) and calls TenderBook.open, which locks the budget in escrow.
3. Each supplier agent writes its bid, seals it with QoreSeal (ML-KEM-1024 + X25519) to the buyer desk's KEM key read from the chain, after checking the desk's QoreSign recipient card, and signs the envelope hash with its own registered ML-DSA-87 key.
4. The buyer agent relays each commit with a linked ed25519 authenticator (MsgExecuteEVM through a fee wallet). TenderBook checks the key with the pqcKeyStatus precompile and the 4,627-byte signature with pqcVerify, bound to chain, contract, tender, supplier and envelope.
5. After the deadline the desk opens every envelope, checks it against the hash on chain, and the model scores it as untrusted data, flagging hidden instructions. Code picks the winner: within budget, meets the must-haves, no injection, best score (or cheapest for goods).
6. The red-team bid's hidden payment is forced through: the spending rule refuses it (per-tx limit 1uqor) and TenderBook refuses the award (NotABidder).
7. TenderBook.award pays the winner, refunds the rest and stores the sha256 of the evaluation report. The award notice page reads the tender back from the chain and re-checks that hash in the browser.
Optional: a visitor can sign their request with QoreX (a hybrid ML-DSA-87 send with the brief's hash in the memo); the server checks it on chain before running the tender.
Kits: @qorechain/sdk (hybrid signing, openEvmWindowMsg, linkAuthenticatorMsgs, buildPhantomExecuteEvm, pqcSign, fetchPqcStatus), @qorechain/evm, @qorechain/qoreseal, @qorechain/qoresign, plus viem and Foundry (forge tests on TenderBook).
What was hard: transfers fail until the sender's ML-DSA key is registered (no classical fallback); a relayed MsgExecuteEVM has to provision more gas than the agent signed; the Cosmos tx log only says "execution reverted", so we read custom errors with eth_call; and the testnet RPC returned brief 503s on eth_sendRawTransaction, so the agent retries longer. tools/check-live.mjs re-checks every README claim against the live chain.