Trading terminal
Agent keys and security
A key that can trade, never withdraw.
Hyperliquid lets an account approve an agent (API wallet) that signs orders on its behalf but cannot move funds out. Leverra uses this so you sign once instead of on every order.
How it works
- Enable trading generates a fresh private key in your browser.
- Your wallet signs Hyperliquid's approveAgent message for that key's address, named Leverra, on the network you picked.
- The key is saved in your browser's local storage under leverra.agent.v1.<network>.<address>. It never leaves the browser.
- Each order is signed by that key and sent straight from your browser to Hyperliquid's API.
- On load, the app checks Hyperliquid's list of your approved agents (extraAgents) to confirm the key is still approved.
What the key can and cannot do
| Can | Cannot |
|---|---|
| Place, cancel and close orders | Withdraw or transfer funds |
| Change leverage and margin mode | Approve other agents |
Revoke or reset
- Clear this site's data in your browser to delete the key locally. Enable trading again creates a new one.
- Remove the agent on Hyperliquid's side from the API section of the Hyperliquid app.
Warning · Anyone with access to your browser profile can trade with the key (not withdraw). Don't enable trading on a shared computer.