R-Chain (Relay)
IBC-like cross-chain message relay with ordered and unordered channels. Sequence numbers, Merkle proof verification, and session-ready receipt commitments.
Overview
The Relay Chain provides IBC-compatible cross-chain message passing between Lux chains and external IBC-enabled networks. It supports both ordered channels (guaranteed delivery order) and unordered channels (best-effort delivery).
Messages are verified through Merkle proofs, with sequence numbers preventing replay attacks. Receipt commitments enable session-aware protocols where both sides can confirm message delivery.
R-Chain extends Lux Network's interoperability beyond simple asset bridges to general-purpose cross-chain communication — enabling cross-chain smart contract calls, governance votes, and data sharing.
Technical Specifications
IBC-compatibleOrdered / UnorderedMerkle proofsSequence numbersCommitment-basedOptionalFeatures
Quick Start
Install the Lux SDK and start interacting with Relay Chain.
Installation
npm install luxnetExample
import { RelayClient } from 'luxnet/relay'
const relay = new RelayClient('https://relay.lux.network')
// Send a cross-chain message
const msg = await relay.sendMessage({
sourceChain: 'lux-c',
destChain: 'cosmos-hub',
channel: 'channel-0',
data: encodedPayload,
})API Reference
Full API reference documentation is available at docs.lux.network.
View Full API Docs