Loops HouseLifeline

NEAR HACKATHON
Links
Team
1 member- SOOwner
Soham Juneja
Overview
It's 3 AM. You're asleep, your Hyperliquid long is sliding toward liquidation, and the money that could save it sits on another chain. In the October 2025 cascade, $7.4 billion of Hyperliquid open interest was wiped out.
Lifeline tops up your margin before that happens. You fund a reserve from any chain through NEAR Intents and set your own rules: when to warn you, when to step in, caps per rescue and per day, and a cooldown. A keeper checks your health every 5 seconds. When health drops below your trigger, it fetches a signed 1Click quote, the Lifeline vault on NEAR pays it, and NEAR Intents delivers the USDC into your Hyperliquid margin.
It's live on NEAR mainnet. On 14 Nov 2026 at 20:16 UTC, vault.lifeline-hq.near made its first real rescue. Health was 2.27, below a 2.5 trigger. The vault sent 2 USDC through NEAR Intents, and 1.68 USDC landed in a real Hyperliquid account 48.6 seconds later, lifting health to 3.83. It was a small test position of about $11, with the trigger set above its health on purpose. Every hash is in research/mainnet/RESCUE.md. On testnet, the same build made 34 rescue transactions.
We built it assuming the keeper gets hacked. Its only key can call rescue and nothing else. The vault checks 1Click's signature on chain and only pays quotes sending money to your own Hyperliquid address, within your limits. Our attack lab at lifeline.prashantthakur.dev/attack lets anyone play the hacker and try 7 ways to rob the vault. All are refused on chain. A verify page re-checks the mainnet vault, keeper key, build and NEAR AI Cloud's TEE attestation in your browser.
Backtested on 18,000 positions over two years, Lifeline cut liquidations from 34.2% to 20.6%. 1,535 TypeScript tests and 62 contract tests run on every change.
None of this works without NEAR. Intents move the money across chains, function-call keys keep the keeper on a short leash, the contract enforces every rule, and NEAR AI explains each rescue from verified hardware.