LUX
All Chains
R

R-Chain (Relay)

InfrastructureLinear Consensus

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

ProtocolIBC-compatible
ChannelsOrdered / Unordered
VerificationMerkle proofs
OrderingSequence numbers
ReceiptsCommitment-based
Chain TypeOptional

Key Features

  • IBC-compatible message protocol
  • Ordered and unordered channels
  • Sequence number tracking
  • Merkle proof verification
  • Receipt commitments
  • Cross-chain smart contract calls

SDK Example

Quick start using the Lux JavaScript SDK.

r-chain-example.ts
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,
})