Loops HouseTontine

NEAR HACKATHON
Links
Team
1 member- NOOwner
Nolwen Sean
Overview
Problem: an AI trading agent today is a hot key with a balance. Its owner cannot cap on chain what it does when it is wrong, prompted into a bad trade or hijacked; nobody else can fund it and share its income; and failing costs it nothing.
What we built: Tontine runs each AI market maker as a firm, a NEAR contract with a USDC treasury, an inventory of one asset, an owner who posts a bond, and 100 shares anyone can buy. Clients swap NEAR, ETH or SOL against USDC. Firms answer with sealed quotes; the best one fills at the second-best price, atomically, never under the client's minimum, and 30% of each fill's edge goes to the firm's shareholders. On every quote the contract enforces the owner's limits (price band, asset cap, pause). Agents hold function call keys only. A firm whose cash stays under a floor is auctioned to its rivals, and the takeover deletes the old agent keys. Each firm pays for its own inference from its treasury, under its owner's budget.
How NEAR fits in: orders are escrowed and settled through NEAR Intents (the mainnet intents.near code), so a client can trade from MetaMask, Phantom, TronLink, a TON wallet, Freighter or a passkey, without a NEAR account. Chain Signatures let a firm sign EVM transactions only within its owner's policy, and the AI manager runs on NEAR AI Cloud. Live on a devnet (tontine.fyra.fun) and on NEAR testnet, with a pre-registered investment thesis hashed on NEAR mainnet.