Quick Start Guide
This guide walks you through setting up your account and executing your first trade on HyperDEX. The process differs slightly depending on which exchange you want to use.Tide API access is currently public: you do not need to generate Tide dashboard API keys to call
https://api.tide.ag. Follow the steps below for wallets and exchange-specific setup.For Avantis Users: Avantis trades are executed client-side on the Base network. The Tide backend provides data endpoints (positions, orders, history, balances), but order execution requires wallet signing through the frontend
useAvantisTrade hook. No server wallet or API key registration is needed — just a wallet with USDC on Base.Step 1: Create a Server Wallet
Create a secure MPC-managed wallet for trading operations.walletId- For API requestsaddress- For funding the walletuserId- Alternative identifier
Step 2: Register API Keys with Exchanges
For Aster
For Hyperliquid
For Lighter
Lighter is different: Create your account and generate API keys directly on Lighter DEX. You’ll need:
apiKeyPrivateKey- Your API key private keyapiKeyIndex- API key index numberaccountIndex- Your account index
Step 3: Fund Your Server Wallet
Transfer tokens to your server wallet address from your personal wallet: For Aster (BSC Network):- USDT (for trading)
- BNB (for gas fees)
- USDC (for trading)
- ETH (for gas fees)
- USDC (for trading collateral)
- ETH (for gas fees on Base)
Step 4: Deposit to Exchange
Aster Deposit
Hyperliquid Deposit
Step 5: Place Your First Order
Aster Order
Hyperliquid Order
Lighter Order
Avantis Order (Client-Side)
Avantis trades are executed on-chain from the frontend. Use theuseAvantisTrade hook:
Next Steps
Now that you’ve completed your first trade, explore:- User Flow Documentation - Detailed flow with diagrams
- Account Management - Wallet operations
- Deposits & Withdrawals - Fund management
- Trading Operations - Advanced order types
- WebSocket Streams - Real-time market data
Important Security Notes
Lighter API Keys: For Lighter DEX, obtain API credentials directly from their platform. These are different from your HyperDEX server wallet.
Common Issues
Insufficient Balance- Ensure your server wallet has both trading tokens and gas tokens
- Check balances before depositing
- Include
x-wallet-idheader for Aster and Hyperliquid orders - Use the
walletIdfrom Step 1
- Verify you created an account on Lighter DEX
- Ensure you deposited funds on Lighter platform
- Check that API credentials are correct