Rescue a strategy yourself
A daily testnet strategy opens a position and simulates a manager outage. The rescue window is 14:40 to 17:40 UTC. The judge pays the guardian who delivers the funds.
The practice strategy now
The manager was last seen 10 days ago; the mandate allows 15 minutes of silence.
- Judge
practice.keel-factory-bcf915.testnet- Rewards
- 0.1 NEAR for the Hyperliquid leg, 0.05 NEAR for the Base leg, from a pool of 0.27 NEAR
- Cycle
- 7
Rescue it with a NEAR wallet
Use a NEAR testnet account to sign each transaction. The courier pays the EVM gas while the window is open.
Checking the judge
Scheduled rescue window 14:40 to 17:40 UTC.
Recent drill attempts
A cycle can have more than one attempt.
| Cycle | Started | Result |
|---|---|---|
| 4 | Rescued | |
| 3 | Failed | |
| 2 | Failed |
Rescue from the terminal
Node 20+ and Python 3.10+. Your key stays on your machine. NEAR's CLI signs locally.
1Get the code
git clone https://github.com/Femtech-web/Klear && cd Klear && npm ci2Make a NEAR testnet account (free; the faucet funds it)
npx near account create-account sponsor-by-faucet-service <you>.testnet autogenerate-new-keypair save-to-legacy-keychain network-config testnet create3Rescue it (waits for the window if it is not open yet)
make rescue ACCOUNT=<you>.testnet
What happens during a rescue
You attest a KeelLeg snapshot
NEAR's MPC network checks the log really is in a finalized HyperEVM block before the judge accepts it.
You open the rescue
The judge checks the trigger itself (the manager has been silent past the investor's limit) and signs one reduce-only order. You choose nothing.
The courier relays it
It pays the gas on HyperEVM and Base. It cannot change an order the judge signed; anyone with gas could do the same.
You settle
On a fresh snapshot the judge sees the position closed and signs the margin's sweep to the investor; once the investor's balance shows it, it pays you.
You confirm the vault's exit
After Base finalizes (about 25 minutes) you attest the vault's Exited log; the judge pays you for the second leg.