Lux Docs
Exchange

Lux Exchange

Decentralized exchange frontend with V2, V3, and precompile support

The Lux Exchange (github.com/luxfi/exchange) is a modern DEX interface built with Next.js and React supporting multiple AMM protocols.

Features

FeatureDescription
V2 SwapsClassic constant-product AMM
V3 SwapsConcentrated liquidity positions
Precompile SwapsNative EVM precompile routing for zero-gas swaps
Cross-ChainRoute across Lux subnets and Ethereum
Position ManagementTrack and manage LP positions

Architecture

apps/web/           Next.js 15 frontend
packages/exchange/  Core DEX logic, hooks, stores
packages/ui/        Tamagui component library
packages/config/    Chain and contract configuration
packages/api/       React Query data layer

Supported Chains

ChainChain IDProtocols
Lux C-Chain96369V2, V3, Precompile
Zoo200200V2, V3
Hanzo36963V2, V3
SPC36911V2, V3
Pars494949V2, V3

On this page