What is GMX?
GMX is a decentralized spot and perpetual exchange that supports low fees and zero price impact trades. It runs on Arbitrum and Avalanche with the GLP index token for liquidity.
Trading Features
- Perpetual futures (up to 50x leverage)
- Spot trading
- Zero price impact
- Low fees
- Multi-chain (Arbitrum, Avalanche)
SDK Integration
import { GMX } from '@gmx/sdk'
const gmx = new GMX('arbitrum')
// Get market data
const btcPrice = await gmx.getPrice('BTC')
// Execute trade
const tx = await gmx.openPosition({
indexToken: 'WBTC',
sizeDelta: web3.utils.toWei('1'),
isLong: true,
collateralToken: 'USDC'
})