EXCHANGE CONNECTION

Connect Hyperliquid

How to prepare an API Wallet on Hyperliquid and add it to ElixoAI / DexBots.

Hyperliquid is a decentralized exchange (DEX). The connection flow differs from CEX platforms: instead of an API Key and Secret, you use an API Wallet Address and Private Key from a dedicated trading wallet.

Exchange-side steps
Account setup, funding, API Wallet creation and saving its keys.

1. Set up Hyperliquid

  • Prepare a Web3 wallet: MetaMask, Rabby or a similar wallet.
  • Fund the wallet: transfer USDC on Arbitrum One (or another network supported by Hyperliquid). You can use bridges or withdraw from a CEX to Arbitrum One.
  • Open the Hyperliquid platform (referral code DIMKUD gives a 4% fee discount).
  • Click Connect and link your wallet.
  • Click Enable Trading and sign the transaction to activate trading.
  • Open the API page: app.hyperliquid.xyz/API.
  • Create an API Wallet - a separate wallet used only for trading.
  • Copy the API Wallet Address - you will need it in ElixoAI / DexBots.
  • Save the Private Key for this API Wallet.
  • Fund your trading balance on Hyperliquid (Spot/Perps) so bots have enough margin for trades.

2. Add to ElixoAI / DexBots

Complete this step inside ElixoAI / DexBots on the DEX Bots → API keys page.

  • Open the API keys page and click “+ Add API key”.
  • Select Hyperliquid and enter a label for the key.
  • Fill in API Wallet Address and Private Key.
  • Also enter Main Wallet Address - the address of the main wallet you use to sign in to Hyperliquid.
  • Click “Add API key” - the key is stored encrypted.
  • Run “Verify API” to test the connection.

3. Updating/Renewing the API on Hyperliquid

Hyperliquid API wallets can be created with a maximum validity period of 180 days. You can check the exact expiration date here: https://app.hyperliquid.xyz/API.

  • Open the API page: app.hyperliquid.xyz/API.
  • Create a new API Wallet — a separate wallet used for trading.
  • Copy the new API Wallet Address.
  • Copy the new Private Key for this API Wallet.
  • Edit your existing API key in DexBots: go to the API settings DEX Bots → API Keys.
  • Select the Hyperliquid API that you want to update and click "Edit".
  • Enter the new API Wallet Address and the new Private Key.
  • Keep the existing Main Wallet Address unchanged so that the bot can continue trading with your existing bots on the same account.
  • Save the changes.
  • Check the connection using the “Check API” button.

You can update the keys at any time (you do not need to wait until the old keys expire).

About the Private Key
Use the private key of the newly created API Wallet, not the private key of your main wallet.
After connecting
Start with a small trading limit and confirm that balances and statuses appear correctly in DexBots.