High-speed asset creation and transfers using a DAG-based UTXO model. Multi-asset support with atomic swaps, optimized for maximum throughput.
The Exchange Chain is Lux Network's DAG-based asset platform. It uses a UTXO model for maximum parallelism — transactions that don't conflict can be processed simultaneously, enabling throughput that scales with network capacity.
Unlike account-based chains, the X-Chain's UTXO model provides inherent privacy benefits and enables atomic multi-asset transfers in a single transaction. Assets created on the X-Chain can represent anything: tokens, NFTs, stablecoins, or custom digital instruments.
The DAG consensus allows transactions to be confirmed without waiting for blocks, achieving sub-second finality for simple transfers. Complex operations involving multiple UTXOs are batched efficiently.
Quick start using the Lux JavaScript SDK.
import { Lux, BN } from 'luxnet'
const lux = new Lux('api.lux.network', 443, 'https')
const xchain = lux.XChain()
// Create a new asset
const tx = await xchain.createFixedCapAsset(
'MyToken', // name
'MTK', // symbol
0, // denomination
[{ address: myAddress, amount: new BN(1000000) }]
)