Lux Standard

Documentation

Complete documentation for the Lux Standard Library

Lux Standard Library

The canonical smart contract library for Lux Network. Production-ready implementations for tokens, DeFi, governance, and post-quantum security.

New to Lux? Start with the Getting Started guide to install the library and deploy your first contract.


Core Modules

Tokens

Native tokens, stablecoins, and token standards for the Lux ecosystem.

View all tokens →

DeFi

Self-repaying loans, perpetual trading, and yield protocols.

View all DeFi →

AMM

Decentralized exchange with concentrated liquidity.

View all AMM →

Smart Accounts

ERC-4337 account abstraction with advanced features.

View all accounts →


Infrastructure

Governance

On-chain governance and DAO tooling.

View all governance →

Bridge

Cross-chain interoperability with Warp messaging.

View all bridge →

Utilities

Helper contracts and common patterns.

View all utilities →


Security

Multi-Signature

Secure asset management with threshold signatures.

Post-Quantum

Quantum-resistant cryptography for future-proof security.


Contract Index

CategoryContractsDescription
TokensLUX, LUXD, AI, LRC20, LRC20B, LRC721BNative tokens and standards
SynthsAlchemistV2, TransmuterV2, SynthTokenSelf-repaying synthetic assets
PerpsVault, Router, PositionRouter, LLPPerpetual futures trading
AMMAMMV2Factory, AMMV3Pool, SwapRouterDecentralized exchange
GovernanceGovernor, Timelock, DAO, vLUXOn-chain governance
BridgeTeleport, Bridge, WarpCross-chain transfers
SafeSafe, SafeFactory, FROSTMulti-signature wallets
AccountsEOA, EOAFactory, PaymasterAccount abstraction

Resources

License

MIT License - Free to use in commercial and open source projects.

On this page