βCross-DEX CT : Hyperliquid to Lighter
Overview
DextraBot now introduces a groundbreaking feature - Cross-Exchange Copy Trading. You can now follow traders on Hyperliquid and automatically execute their trades on Lighter. This revolutionary capability allows you to leverage the best of both platforms while maintaining complete control over your trading execution.
Key Benefits
Platform Flexibility: Follow successful traders on Hyperliquid while executing trades on Lighter
Enhanced Liquidity: Access Lighter's liquidity pool while copying Hyperliquid strategies
Unified Management: Manage both Hyperliquid and Lighter wallets from a single interface
Real-time Synchronization: Seamless position mirroring across exchanges
Setting Up Lighter API Integration
Step 1: Generate Lighter API Keys
1.1 Access Lighter Platform
Navigate to https://app.lighter.xyz/
Connect your wallet to the platform
Click on Tools dropdown in the top navigation bar
Select API Keys from the menu

1.2 Create New API Key
On the API Keys page, click "Generate API Key" button (top right corner)
Set your API Key Index:
Enter any number between 2-254
Important: Indexes 0 (Desktop) and 1 (Mobile) are reserved
Example: Use "111" or any preferred number within the range
Click Generate
1.3 Save Your Credentials
After generation, you'll receive:
API Key Index: Your chosen index number
Public Key: Your public API key
Private Key: Your private API key
β οΈ CRITICAL SECURITY NOTE:
Save your Private Key immediately - it won't be accessible after closing the popup
Store it in a secure location
Never share your Private Key with anyone
Step 2: Add Lighter Wallet to DextraBot
2.1 Access Wallet Management
Open DextraBot and navigate to Wallet Management
Click the "Add Account" button
Select "Add API Wallet" option

2.2 Configure Lighter API Wallet

In the wallet generation popup:
Select LIGHTER platform
Enter your Wallet Name (for identification)
Input your Login Address
Enter your API Private Key (from Step 1.3)
Enter your API Key Index (the number you chose, e.g., 111)
Click Generate
Your Lighter wallet will now appear in the wallet list and be available for copy trading.
Configuring Cross-Exchange Copy Trading
Step 1: Access Copy Trade Module
Navigate to Discover Wallets.
Apply filters to find a trader that fits your criteria.
Click the Copy Trade icon next to their wallet.
Step 2: Select Trading Platforms
2.1 Choose Target Platform
In the "Select target platform" dropdown
Choose Lighter as your execution platform

2.2 Select Your Wallet
In the "Select your wallet" dropdown
Choose the Lighter API wallet you added earlier
Step 3: Configure Trading Parameters
Method Selection
Method III (Mirror): Advanced mirroring with enhanced features (Only method works for Lighter)
Scaling Configuration
Set your position scaling percentage (up to 100%)
Note: Due to Lighter's infrastructure, maximum scaling is limited to 100%
Risk Management Settings
Copy Increase as Open Position: Toggle ON to mirror position increases
Stop Loss: Set your stop loss percentage
Take Profit: Configure your take profit targets
Include TWAP Orders: Enable/disable Time-Weighted Average Price orders
Direction Filter: Choose ALL, LONG, or SHORT positions
Future Listed Tokens: Toggle ON to include newly listed tokens
Asset Management: Include or exclude specific assets (default: 182 assets)
Run: Toggle ON to activate the copy trading bot
Copy Current: Doesn't work on Lighter
Step 4: Apply Configuration
Click Apply to save your settings and activate cross-exchange copy trading.
Managing Your Wallets and Positions

Wallet Switching
In Wallet Management, you can easily switch between:
Hyperliquid wallets (marked with HYPERLIQUID badge)
Lighter wallets (marked with LIGHTER badge)
Position Monitoring
The Manage Positions section shows:
Open Positions: Active trades across both platforms
Position Details:
Coin/Trading pair
Position type (LONG/SHORT)
Size and value
Entry price and mark price
PnL (ROE%)
Margin and funding rates
Important Notes
Platform Limitations
Scaling Limit: Lighter infrastructure supports maximum 100% scaling
API Index Range: Must use indexes 2-254 (0-1 are reserved)
Last updated