Loops HouseSeter

NEAR HACKATHON
Links
Team
1 member- KROwner
Krishna Yadav
Overview
When stop-loss levels are public, other traders can see where forced selling will happen and push the price there to trigger it ("stop hunting"). Seter lets a trader place stop-loss, take-profit, limit and one-cancels-other orders whose trigger prices stay secret until they fire. The browser encrypts each level; the NEAR contract (mienai-3013a230.testnet) stores only the ciphertext and a commitment, so anyone reading the chain sees "sealed" where the trigger would be. A paid check asks OutLayer to run a pinned program inside an Intel TDX enclave: it decrypts the orders, reads the Coinbase NEAR/USD price and signs a report that reveals only the orders that crossed. The contract verifies the enclave signature with ed25519_verify, the request, price freshness, the commitment and the crossing, requires OutLayer's price-oracle.testnet to agree, then settles on its own NEAR/tUSD test pool and publishes the trigger for audit. The keeper signs with a function-call key that can only call check. Recorded testnet runs show a sealed stop firing on a real price crossing with a verified TDX attestation, and the film places a public stop and a sealed stop side by side so you can compare what the chain reveals. Limits: testnet only, not audited; tUSD has no value and settlement is a test pool, not NEAR Intents; once an order fires its execution is public; checks need a paid call and the scheduled keeper is off until its secret is added; an empty check leaks a little about where armed triggers can be; human Meteor wallet approval is a manual check.