Skip to main content
Hyperoru supports trading on Hyperliquid and Binance Futures. This guide covers wallet configuration, testnet environments, and trading mode management.

Hyperliquid

Hyperliquid is an L1 blockchain optimized for on-chain perpetual trading. Hyperoru supports two wallet types for authentication.

Wallet types

Direct wallet authentication using the account’s private key. This grants full trading permissions.
curl -X POST https://api.hyperoru.com/api/hyperliquid/wallets \
  -H "Content-Type: application/json" \
  -d '{
    "trader_id": "trader-uuid",
    "wallet_type": "private_key",
    "private_key": "0xYourPrivateKey"
  }'
Private keys are AES-encrypted at rest using HYPERLIQUID_ENCRYPTION_KEY. Never share your private key or encryption key.

Testnet vs mainnet

Toggle between Hyperliquid testnet and mainnet per trader:
curl -X PUT https://api.hyperoru.com/api/hyperliquid/wallets/{wallet_id}/network \
  -H "Content-Type: application/json" \
  -d '{"testnet": true}'
NetworkAPI Base URLPurpose
Mainnethttps://api.hyperliquid.xyzLive trading with real funds
Testnethttps://api.hyperliquid-testnet.xyzPaper trading and strategy validation

Binance Futures

Binance Futures uses API key + secret authentication with HMAC-SHA256 request signing.

Setup

curl -X POST https://api.hyperoru.com/api/binance/credentials \
  -H "Content-Type: application/json" \
  -d '{
    "trader_id": "trader-uuid",
    "api_key": "your-binance-api-key",
    "api_secret": "your-binance-api-secret"
  }'

Testnet vs mainnet

curl -X PUT https://api.hyperoru.com/api/binance/credentials/{credential_id}/network \
  -H "Content-Type: application/json" \
  -d '{"testnet": true}'
NetworkAPI Base URLPurpose
Mainnethttps://fapi.binance.comLive trading with real funds
Testnethttps://testnet.binancefuture.comPaper trading and strategy validation
Binance testnet API keys are separate from mainnet keys. Create testnet keys at testnet.binancefuture.com.

Trading mode

Each trader has an active trading mode that determines which exchange receives orders:
curl -X PUT https://api.hyperoru.com/api/traders/{trader_id}/trading-mode \
  -H "Content-Type: application/json" \
  -d '{"mode": "hyperliquid"}'
ModeDescription
hyperliquidOrders route to Hyperliquid
binanceOrders route to Binance Futures
Switching trading mode does not close open positions on the previous exchange. Close positions manually before switching.

Watchlist management

Each trader maintains a watchlist of symbols to monitor. The watchlist determines which symbols appear in market data context, signal evaluation, and strategy execution.
curl -X PUT https://api.hyperoru.com/api/traders/{trader_id}/watchlist \
  -H "Content-Type: application/json" \
  -d '{
    "symbols": ["BTC", "ETH", "SOL", "ARB", "DOGE"]
  }'

Querying available symbols

curl https://api.hyperoru.com/api/crypto/symbols
Returns the full list of tradeable symbols on the active exchange.

Security best practices

Use agent keys

On Hyperliquid, prefer agent keys over direct private keys. Agent keys cannot withdraw funds.

Restrict API permissions

On Binance, create API keys with only Futures trading permission. Disable spot, withdrawal, and margin.

IP whitelisting

On Binance, restrict API key access to your server’s IP address.

Start on testnet

Validate strategies on testnet before committing real funds. Both exchanges offer full-featured testnet environments.