Connect Hyperliquid Perps
Hyperliquid Perps is included in every plan. You can start with a demo account.
1. Create the API key
Open app.hyperliquid.xyz/API and connect the wallet that holds your funds. Name a new API wallet, click Generate, then Authorize, and copy its private key: it is shown only once.
- Permissions: API wallets can trade but cannot withdraw, so there is nothing else to set.
- Never enable withdrawals or transfers. BotEdge only places orders.
If the exchange offers it, restrict the key to the addresses BotEdge trades from: 161.35.155.159. A stolen key is then useless anywhere else.
2. Add it to BotEdge
- In the dashboard, click Add connection and choose Hyperliquid Perps.
- Choose Live for your real account or Demo / testnet for a demo key.
- Paste the values from the exchange:
- Main wallet address: The address of the account that holds the funds (0x…).
- API wallet private key (secret): Create an API wallet on Hyperliquid and paste its private key. Never use your main wallet key.
Secrets are encrypted before they are stored and are never shown again.
- Save. The connection card shows your pointer, the webhook URL and the alert message.
3. Set up the alert
- Chart and ticker: Put the coin name in the message instead of {{ticker}}, for example "ticker": "BTC".
- Quantity: Coins: 0.001 on BTC is 0.001 BTC.
Then follow the TradingView guide to create the alert.
Demo account
Demo uses the Hyperliquid testnet: create the API wallet on app.hyperliquid-testnet.xyz and choose Demo when you add the connection.
Good to know
- Enter the address of your main wallet, not the address of the API wallet.
- Never paste the private key of your main wallet. API wallets can expire: if alerts start failing with an authorization error, create a new one.
Order rejected?
The error email explains what Hyperliquid Perps answered. The error guide covers the most common causes.