GMX Interface

August 6, 2026 · View on GitHub

Frontend monorepo of the GMX decentralized perpetual and spot exchange:

The app imports the SDK sources directly (the sdk path alias points to sdk/src); yarn build-sdk produces the publishable package build.

Requirements

  • Node.js 20 (.nvmrc)
  • Yarn

Getting started

yarn
yarn start

The trading app dev server runs at http://localhost:3010.

Scripts

CommandDescription
yarn startTrading app dev server on port 3010
yarn start-homeLanding dev server on port 3010
yarn start-appTrading app dev server on port 3011 with the development-app env profile
yarn buildBuild the app into build/
yarn build-app / yarn build-homeProduction app / landing builds with the matching env profiles from .env-cmdrc
yarn build-sdkBuild the @gmx-io/sdk package
yarn test / yarn test:ciVitest in watch / single-run mode
yarn test:ctPlaywright component tests
yarn tscheckTypecheck the app and the landing
yarn lintESLint with autofix; yarn lint:ci checks only
yarn lingui:prepareExtract and compile translation catalogs

Documentation