Loops HouseTenor

NEAR HACKATHON
Links
Team
1 member- AVOwner
Avish Rakshe
Overview
Tenor is a prop-trading firm whose rules run as NEAR contracts, so the firm can't cheat its traders.
A trader pays once for an evaluation. If they hit the profit target without breaking the loss limits, they trade the firm's capital and keep 80% of the profit. Most prop firms keep trades in-house and earn when traders lose. Tenor makes that impossible:
- No B-book. Each funded account is its own NEAR sub-account running a Guard contract. Every trade is a real onchain swap, not an entry in the firm's book.
- Trade-only keys. The trader, or their AI agent, holds a function-call key that can only place orders, close positions and request payouts. The NEAR protocol stops it from moving funds or adding keys. A breach deletes the key in the same receipt.
- No admin verdicts. Evaluations and funded accounts use the same rulebook. Anyone can call poke() to apply stops, breaches and passes.
- Every loss is pre-funded. The contract won't fund a new account unless the reserve covers 1.2× the maximum loss of every live account.
- Provable money movement. An automated run checks every balance to the micro-USDC across 15 steps, from buying a challenge to the payout. The results are public at /proof.
An attack demo shows a prompt-injected AI agent holding the trading key. Every attempt to steal funds is blocked, either by the NEAR protocol, the Guard contract or a counterparty check.
Status: live on NEAR testnet at tenor-hazel-theta.vercel.app, with a web app, a live trading terminal and a Demo mode. Payouts use mock USDC, and cross-chain checkout through NEAR Intents 1Click returns quotes only. The contracts haven't been audited.