Wallet Architecture
How FoxBlaze keeps your funds safe.
FoxBlaze is non-custodial — your funds always stay in your control. Here's how it works in simple terms.
Your wallet is yours
When you type /start, the bot creates a secure wallet on Arbitrum. Your private key is encrypted with AES-256 and never stored in plain text.
How trading works safely
FoxBlaze uses a system called Agent Keys from Hyperliquid:
- Your main wallet holds your funds and controls withdrawals.
- The Agent Key is a separate key that can only place trades — it cannot withdraw your money.
Think of it like giving someone permission to trade on your behalf, but they can never take your money out.
What the Agent Key can do
| ✅ Can do | ❌ Cannot do |
|---|---|
| Open and close positions | Withdraw funds |
| Place TP/SL orders | Transfer to other wallets |
| View your balance | Access your private key |
Withdrawals
When you use /withdraw, FoxBlaze temporarily decrypts your main key in memory to sign a secure withdrawal. Your USDC is bridged from Hyperliquid back to any Arbitrum wallet address you specify. The bot monitors the transaction and confirms when funds arrive.
Zero gas fees
All trading on Hyperliquid is gasless — you don't need ETH or any other token to place orders. Only USDC is needed as margin.
