gmx-liquidity

Installation
SKILL.md

GMX Liquidity Skill

Overview

GMX V2 has two liquidity layers that back perpetual and spot trading:

  • GM Pools — Single-market liquidity pools. Each GM pool backs one market (e.g., ETH/USD) and is composed of a long token and short token. Depositing mints GM tokens (LP tokens); withdrawing burns them.
  • GLV Vaults (GMX Liquidity Vaults) — Multi-market vaults that hold multiple GM tokens and auto-rebalance across constituent pools. Depositing mints GLV tokens; withdrawing burns them.

Supported chains:

Chain Chain ID Native Token GLV Vaults
Arbitrum 42161 ETH Yes
Avalanche 43114 AVAX Yes
Botanix 3637 BTC No (contracts deployed, no vaults configured)

Execution model: All write operations use a two-step async pattern:

  1. User creates a request (deposit/withdrawal/shift) via ExchangeRouter or GlvRouter multicall
  2. Keeper executes the request with oracle prices (typically 1–30 seconds later)
Related skills
Installs
6
Repository
gmx-io/gmx-ai
GitHub Stars
8
First Seen
Mar 5, 2026