IBC-like cross-chain message relay with ordered and unordered channels. Sequence numbers, Merkle proof verification, and session-ready receipt commitments.
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.
Quick start using the Lux JavaScript SDK.
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,
})