How Klear works
Your money sits in two accounts that only one thing can move: a contract on NEAR that holds your rules, and has no keys.
Your rules
How large an order may be, the price range it must stay in, how much leverage is allowed, your loss floor, and what happens if the manager goes quiet. Written once into a NEAR contract, then locked: its only key is deleted.
Two accounts that only pay you
A trading account on Hyperliquid and an asset vault on Base. Each one acts only on the contract's signature, made by NEAR's signing network, and each can only ever pay out to your address.
Decisions on verified data
The contract never takes anyone's word for what happened. NEAR's network confirms each account's state on its own chain first, and the contract decides on that.
A way home anyone can run
When a trigger you chose fires, anyone can close the positions and move both accounts' funds to you. They are paid per account, only once the money is seen arriving.
End to end
From setup to payout, in order
- 01
Lock the rules
You set order size, price range, leverage, a loss floor, a warning level, how long the manager may stay silent, and where your money goes home. A NEAR contract with no keys holds them, and controls a trading account on Hyperliquid and an asset vault on Base.
Inspect a strategy - 02
The AI trades under them
The AI only proposes. The contract checks each order on data NEAR verified from both chains, and signs only what fits.
Private. Your strategy can stay sealed: the AI reads it inside a TEE, and NEAR verifies the hardware and each signed decision.
See a sealed decision - 03
Risk is cut early
Past your warning level or leverage cap, anyone can trim the position back, with the order the contract plans.
See an early cut - 04
A trigger opens the way home
Your loss floor is reached, the manager goes silent past your limit, or you say stop.
- 05
Anyone runs the rescue
A person, a bot or an AI agent. The contract plans every order and sends the money only to your addresses, on both chains.
See an AI agent do it - 06
Paid only on arrival
Each part of the rescue is paid only once NEAR sees your money arrive: the USDC within minutes, the WETH once Base finalizes.
Private. The reward can be paid into a confidential balance.
Read the rescue record - 07
Start again
You rearm the same strategy for its next cycle, with the same rules and accounts.
Private end to end: on mainnet, the money can also sit in a confidential NEAR Intents account owned by a locked Klear contract. On a trigger, anyone can cut the AI off there, and the exit pays only you. See it run
Questions
What people ask first
Can the AI take my money?
No. The accounts it trades can only pay out to your own addresses, and the AI's key can only propose trades. It cannot withdraw, and it cannot change where money goes.
What if the AI just stops?
You choose in advance. If you want, a manager that misses its check-ins for long enough lets anyone start the rescue. Silence alone is not treated as danger unless you said so.
Who are the guardians?
Anyone: a person running a few commands, or an AI watching the market. They need no permission and hold no special key. The rules decide when they may act.
Why would anyone rescue my money?
A reward, set by you, paid only after the chain shows the money arrived at your address. A guardian who moves nothing, or moves it nowhere, earns nothing.
What if the market is moving fast?
The rescue closes positions in bounded steps within a price band, and retries what does not fill. Each leg moves on its own, so one stuck asset never holds the rest back.
Can my strategy stay private?
Yes. In sealed mode the AI decides inside a TEE on NEAR AI Cloud with your strategy encrypted end to end, so nobody reads it, the AI provider included. Each decision leaves a signed receipt on chain, and the contract still checks every order.
Can my balance stay private?
The trading accounts' positions are public, because the contract has to check them. For money that should stay private end to end, Klear ran a confidential account on mainnet: your mandate as its policy, owned by a key only NEAR's signing network holds. Its rules are enforced by the provider, not by the contract, and we say so.
Does this work today?
On testnets, yes: ten live rescues across Hyperliquid and Base, three of them by an off-the-shelf AI agent, an early risk cut and a daily drill, all judged on NEAR. The privacy parts also ran on mainnet with a few dollars of real funds. It is not audited.