Loops HouseHallmark

NEAR HACKATHON
Links
Team
1 member- MAOwner
Madhav Gupta
Overview
THE GAP. You can tell an AI agent who it may pay and how much it may spend. You cannot tell it what price is too bad. Caps and allowlists read the transaction; the price lives in the quote — off-chain, not an argument to that call. On 31 Oct 2026 NEAR Intents signed a real quote offering $10 -> 2.1437 wNEAR that guarantees a tenth of a cent. A textbook spend policy approves it: npm run policy prints APPROVED.
WHAT WE BUILT. Hallmark, a NEAR mainnet vault for not-held orders. An owner escrows an asset and signs one agreement naming the worst all-in cost they accept. Anyone may fill it, no allowlist. The filler delivers the output FIRST, so nobody custodies a counterparty's funds; the contract prices what arrived and either credits both legs or refuses and refunds in the same transaction. No pause, no seize, no admin in the fill path; withdrawal works in any state. The bound is one line:
cost = 1 - (amountOutUsd x delivered / amountOut) / amountInUsd
WHY NEAR. NEAR Intents is the only venue that signs the economics of a fill: amountIn, amountOut, minAmountOut and both USD marks sit in one signature, verified on-chain by ed25519_verify. So there is no oracle and no price feed: nothing is left to look up. Take that signature away and there is no number to enforce. NEP-141's panic-catch is what makes a refusal refund atomically.
PROVEN, LIVE. hallmarkfi.near: 6 agreements, 5 fills at 0/23/74/97/141 bps, zero ceiling breaches, 3 refusals each refunded same-transaction. Agreement 6 is the thesis in three transactions by three accounts: opened at a 300 bps ceiling, attacked by a filler running its own code (REFUSED CostCeilingBreached { worst_bps: 527, ceiling_bps: 300 }), then filled honestly at 23 bps. 213 tests, CI from a clean clone, and ./verify.sh re-derives every README claim against mainnet with no key or funds.
WHAT BREAKS IT. If 1Click's signing key is compromised, every bound here is forgeable. Unmitigated, and on /limits rather than left for you to find