Keys001
Bots want your keys
Most trading agents ask for a private key or an unlimited approval. One bad decision then reaches everything the wallet holds.
Agent permissions & spending controls for Robinhood Chain. Give a trading agent a mandate instead of your keys, and every action is checked before it can move a token.
The problem
Keys001
Most trading agents ask for a private key or an unlimited approval. One bad decision then reaches everything the wallet holds.
Mistakes002
A parsing bug or a confused model can send ten times the amount, or pay an address you never meant to pay.
Loops003
An agent stuck in a retry loop spends again and again. Without a daily cap there is no natural stop.
Tokens004
Fresh tokens can carry mint, pause, blocklist or upgrade powers. An agent rarely reads the bytecode before it buys.
Introducing Deleq
The agent proposes, Deleq checks the proposal against your mandate and against the token's code, and only an action inside the limits can move your tokens.
The loop / 01
The agent asks to pay 140 USDG to a supplier. Nothing is signed yet: the proposal is only data.
The difference
A rejection is not a vague error. The guard returns one bit per broken rule, and the same rules decide on chain.
01 / The proposalFrom the agent
Three rules broken
Recipient not allowed · over the per-transaction cap · over the daily cap.
02 / The answercheckTransfer view
Refused before the wallet opens
The same bits would revert the transaction if anyone sent it anyway.
Illustrative example · sample values
01
Each reason has a name and a sentence: unknown recipient, over a cap, paused, expired, low allowance.
02
Next to the reasons, a token check read from chain: proxy, owner, mint, pause, blocklist and fee functions, pools.
03
The guard runs the same rules when the transaction executes. A skipped check in the UI changes nothing.
How it works
Three steps, one contract. Nothing about an agent's intelligence needs to be trusted for the limits to hold.
▣ Benefits
The worst day an agent can have is the daily cap you set, paid only to addresses you chose. Not your whole wallet.
Per token, per transaction and per UTC day, plus a number of actions per day.
Every refusal carries reasons, every execution is an event you can link to.
Pause, or revoke for good, in one transaction. The agent can pause itself too.
Get started
01 / Practice
The console runs the same rules in your browser. No wallet, no token, nothing sent.
02 / Mandate
Connect a wallet, name the agent address, set caps, recipients and routers, approve the guard for an ERC-20 amount.
03 / Agent
The agent calls checkTransfer first, then executeTransfer or executeSwapV3 with its own key. A runnable example ships in the repository.
examples/agent.mjs reads its mandate, checks a proposal and executes it (viem, any HTTP RPC).FAQ
No. Your tokens stay in your wallet. You approve the guard contract for an ERC-20 amount you choose, and each action moves tokens straight from your wallet to an allowlisted recipient (or, for a swap, through the router and back to you) inside one transaction. The guard never keeps a balance between transactions, and it has no admin who could move anything.
Only two things, and only within the mandate: pay a listed token to a listed recipient, or swap a listed token for another listed token through a listed router with the output sent to you. Each token has its own per-transaction cap and daily cap (UTC day), and you can also cap the number of actions per day. The agent cannot change any limit; it can only pause itself.
From the very next transaction. The guard reads the mandate's state on every call, so an action in a later block (or later in the same block) is refused. Pause can be undone by the owner; revoke cannot.
What Robinhood Chain says about the token at one block: whether it has code and answers as an ERC-20, whether it is an upgradeable proxy, who owner() is, which mint, pause, blocklist, burn, fee or upgrade functions appear in its code, whether it launched through Pons, and which Uniswap v3 pools trade it against WETH or USDG. Every row shows its source and the block. A clean check does not mean a token is safe, and anything we could not read says Not known.
A transaction that reverts leaves no event. That is why Deleq runs the guard's own check view before anything is signed, shows the reason bits, and keeps rejected proposals in your browser's log. Executed actions are events on chain and show up in the dashboard with their transaction links.
Not native ETH in this version: wrap it to WETH first. Fee-on-transfer tokens are refused (the guard checks that the recipient got exactly the amount sent). Tokens that return nothing on transfer, like some older stablecoins, are handled. Robinhood stock tokens can block addresses; if they do, the transfer reverts.
No. Mandates, checks, the guard and the dashboard work without it and the token is not live yet. Its planned use is advanced risk checks and alerts; that part is a concept and is labelled as one.
No. Deleq is an independent prototype that uses public contracts on Robinhood Chain. Nothing here is investment advice, and a limit is not a promise that an agent's trades will be good ones.