Trading Accounts & Authentication¶
Trading accounts are how WhisperHedge securely connects to Hyperliquid to execute automated hedges for your LP positions. This section covers everything you need to know about managing trading accounts safely and effectively.
Overview¶
WhisperHedge requires trading accounts to:
- ✅ Execute hedge trades on Hyperliquid
- ✅ Monitor position balances
- ✅ Manage delta exposure
- ✅ Automate IL mitigation
We require trade-only permissions. Trading accounts should have trading enabled but withdrawals and transfers disabled for security.
Supported Platforms¶
Hyperliquid¶
For automated hedging on Hyperliquid, you'll need:
- API Private Key (for signing transactions)
- Wallet Address (0x...)
- Master Account or Subaccount selection
- Subaccount name (if using sub-accounts)
Set Up Hyperliquid Trading Account →
Uniswap V3¶
For Uniswap V3 positions, you'll need:
- NFT Token ID
- Wallet address
Key Concepts¶
Trade-Only vs Full Permissions¶
Trade-Only (Required) - Place hedge orders - Cancel orders - Check balances - View positions
NEVER Enable These - Withdrawals - Transfers - Agent wallet permissions
Disable Withdrawals and Transfers
WhisperHedge only needs trading permissions to execute hedges. Never enable withdrawals or transfers on your API keys for maximum security.
One Trading Account Per Position¶
WhisperHedge requires a dedicated trading account for each LP position you hedge. This is a security and operational feature that:
- Limits exposure if credentials are compromised
- Allows granular fund allocation per position
- Enables easy position removal
- Improves hedge tracking accuracy
- Prevents cross-position interference
Learn more about this requirement →
Subaccounts¶
Hyperliquid supports subaccounts, which are separate trading accounts under your main wallet. Each subaccount:
- Shares the same API key as your master account
- Maintains separate balances and positions
- Requires its own dedicated funds for hedging
- Can be used as a separate trading account in WhisperHedge
Security Best Practices¶
Creating Trading Accounts¶
- ✅ Use trade-only permissions (trading enabled, withdrawals/transfers disabled)
- ✅ Create separate trading accounts for each LP position
- ✅ Use descriptive account names in WhisperHedge
- ✅ Record key creation dates and expiration
Storing Credentials¶
- ✅ Store API private keys securely (password manager)
- ✅ Never share private keys publicly
- ✅ Don't commit keys to git repositories
- ✅ Keep private keys encrypted
Managing Trading Accounts¶
- ✅ Rotate API keys every 3-6 months (Hyperliquid max: 180 days)
- ✅ Delete unused trading accounts immediately
- ✅ Monitor account balances and usage
- ✅ Revoke compromised keys instantly
In WhisperHedge¶
- ✅ Private keys are encrypted at rest
- ✅ Transmitted over HTTPS only
- ✅ Never logged or exposed in plaintext
- ✅ Deleted when trading account is removed
Common Tasks¶
Adding Your First Trading Account¶
- Generate a trade-only API key on Hyperliquid
- Copy the API private key
- Go to Trading Accounts in WhisperHedge
- Add new trading account with credentials
- Verify balance and save
Rotating Trading Account Credentials¶
- Generate a new trade-only API key on Hyperliquid
- Update the trading account in WhisperHedge
- Verify the new key works (check balance)
- Delete the old key from Hyperliquid
Troubleshooting Trading Account Issues¶
Common problems and solutions:
- Invalid private key format
- Insufficient trading permissions
- Expired API keys
- Insufficient balance for hedging
Platform-Specific Guides¶
Hyperliquid¶
Uniswap V3¶
Quick Reference¶
Hyperliquid Trading Account Checklist¶
- [ ] Generated from Hyperliquid dashboard
- [ ] Trade-only permissions (trading enabled, withdrawals/transfers disabled)
- [ ] Correct account type selected (Master or Sub-account)
- [ ] API private key copied securely
- [ ] Wallet address noted
- [ ] Account tested and balance verified
- [ ] Old keys deleted after rotation
Security Checklist¶
- [ ] Private keys stored in password manager
- [ ] Withdrawals and transfers disabled
- [ ] Unique trading account per LP position
- [ ] Keys rotated regularly (every 3-6 months)
- [ ] Unused trading accounts deleted
- [ ] Never shared publicly
Need Help?¶
- Hyperliquid Setup Guide - Detailed walkthrough
- Trading Account Issues - Fix common issues
- Security Questions - Learn about our security
- Contact Support - Get personalized help