Loops HouseNEAR Sentinel

NEAR HACKATHON
Links
Team
1 member- ENOwner
Enzo Dheilly
Overview
Most trading bots ask you to trust the person running them. You have to believe the bot follows its own rules, stays within its limits, and that the results you're shown weren't picked after the fact. I wanted to build one where you don't have to believe anything.
NEAR Sentinel is a spot-trading agent for NEAR and Bitcoin. Every hour it makes one decision per asset, and before it does anything, that decision is hashed and written to a NEAR contract. This includes the hours where it decides to do nothing, which is most of them. Since everything is recorded, I can't hide the boring or bad parts of the track record. Anyone can take a record, hash it again in their browser, and compare it with what's on chain. If you change a single digit, it no longer matches.
NEAR does the real work here. A small Rust contract keeps the decision log, limits how many new positions the agent can open per day, and can pause it. Only the owner can lift that pause. The agent itself only holds a function-call key that can record a decision or pause, so it never has full access to the account. Trades are signed NEAR Intents swaps, and there are two real mainnet swaps linked in the README. Before any trade, a model on NEAR AI Cloud reviews it. It can shrink or refuse the trade but never make it bigger, and its answer is signed inside a TEE so it can be checked later.
You can try it without any key. Run "corepack pnpm install" and "corepack pnpm demo" to replay one trade and one refusal offline, then "corepack pnpm verify --all" to recompute every record.
To be clear about the limits, the strategy is deliberately simple and I'm not claiming it beats the market. The contract caps the number of trades, not their dollar size. I built this solo during the hackathon.