Recorded mainnet run, real funds
A confidential account no one holds the key to
For money that should stay out of public view end to end: a NEAR Intents account whose rules are the investor's mandate, and whose owner is a key that exists only inside NEAR's MPC network. Run on mainnet with 3 USDC of the user's own: a sealed AI traded inside it, a stranger was refused, and the exit went home.
What happened
- 01
Created with the mandate as its policy
The owner is an EVM key that NEAR's MPC network derives for a NEAR account. No private key for it exists anywhere: every owner action is typed data the MPC network signs on request.
- 02
Funded by the user, exits pointed home
3 USDC from the user's exchange account on Base. Then the owner set the only allowed destinations to the user's own Base address and NEAR wallet.
- 03
A sealed AI trades inside it
The AI decided in a TEE, following the investor's private strategy: swap 1 USDC for NEAR. It ran under the AI's grant, confidentially: 1 USDC became 0.2831 NEAR, off the public chain.
- 04
A stranger is refusedrefused policy_destination_denied
A live withdrawal of 0.5 USDC to an outside address, made with the AI's own grant. The policy refused it before anything reached a chain.
- 05
The exit: the AI cut off, the money home
The owner revoked the AI's grant, and its token was refused at once. The owner granted the exit, and everything went to the user: 1.9952 USDC on Base and 0.2831 NEAR in their wallet. The account is empty.
NEAR testnet links are the MPC network signing for the owner; mainnet links are where it took effect.
The mandate, as the account's policy
| Allowed actions | swaps, withdrawals |
| Budget | $5 a day, $10 a week |
| Pace | 10 actions an hour |
| Withdrawals | only to the investor |
| Balance | confidential |
| Owner | a key only NEAR's MPC network holds |
What is private, and what is not
| The balance while it sat in the account | hidden |
| The swap the AI made | hidden |
| Which account held the money | hidden |
| The deposit from the exchange, and the two arrivals | public |
The confidential ledger is access control, not cryptography: its operators can read it, and the API's backend enforces the policy. Klear says so rather than claiming more.
Owned by a locked contract
Policy changes reach the owner encrypted to the provider's TEE, so no contract can read them. So a second account was created whose owner is a locked Klear contract: the investor sets it up once and seals it; after that it signs only grant changes it can read, and only on a trigger. On the investor's exit, a stranger had it revoke the AI's grant and issue an exit grant that can pay only the investor; without a trigger, and for any other agent, it refused on chain.