Documentation
¶
Overview ¶
Package main runs `relayd` — the Lux cross-chain relay operator daemon.
`relayd` is a standalone operator process (no luxd validator required). It reads source-chain logs (e.g. SecuritiesGateway.Outbound), packages them into R-Chain (relayvm) channel messages, and forwards verified messages from R-Chain to destination chains. For non-EVM destinations (OP_NET, Bitcoin), it hands off to the FROST/Taproot signer in `luxfi/mpc` instead of submitting directly.
Operationally the daemon is identical in shape to `mpcd` and `kms`: HTTP server, NATS subscription, persistent state — process-per-operator.
The chain-side (R-Chain consensus on `chains/relayvm`) is the source of truth for verified message acceptance. `relayd` is just the courier.