Loops HouseForseti

NEAR HACKATHON
Links
Team
1 member- VLOwner
Vlad Kretov
Overview
Prediction markets settle disputes with token votes: on Polymarket, UMA holders decide, and many of them trade on the same markets. The $242M "Will Zelenskyy wear a suit before July?" market was settled that way. Forseti replaces the vote with an AI judge that is sealed before the first trade and that anyone can check.
What we built: a NEAR contract (forseti.testnet) where a market commits to the model, its instructions, the sources it may read and a three-model appeal panel; the commitment hash keys the market on any chain. After the deadline the judge answers inside NEAR AI Cloud's TEE and signs the request and its answer. The contract rebuilds the exact request, verifies the TEE signature against registered model keys, and finds the judge's quote word for word in the source. Anyone can appeal with a bond, and three sealed models then decide by majority. The final verdict is signed once by NEAR Chain Signatures, and any EVM contract verifies it with ecrecover: live on Base Sepolia, where a demo market pays out from it.
The web app re-runs every check in the browser, against NEAR and Base Sepolia. Anyone can seal a market in about five minutes without a wallet, or start from a Polymarket link: the sealed judge reviews Polymarket's own wording first (on the suit market it flags "wearing a suit"), and the market page shows Polymarket's result next to Forseti's.
How NEAR fits: NEAR AI Cloud for signed inference in a TEE, the contract as registry and verifier, Chain Signatures to settle on other chains. On testnet: 27 replays of settled Polymarket, Kalshi and Manifold markets (20 of 21 regular ones match the platform), and three live markets that settle during judging.