On this page
Relayer Infrastructure
If you want to earn fees by relaying cross-chain messages, you can run a Brixs Relayer node. Relayers are the decentralized actors that actually move proofs between chains.
Relayer Architecture
Relayers monitor events on both Ethereum and Brixs, constructing Merkle proofs and submitting them across chains.
Important Note
Relayers must pay native gas fees on the destination chain to submit proofs. These gas costs are mathematically reimbursed by the user bridge fees, ensuring profitability.
Starting a Relayer Daemon
brx-relayer start --eth-rpc $ETH_URL --brixs-rpc $BRIXS_URL --keys ./relayer-keys.json --profit-margin 0.05
Profit Optimization
Phase 1: Engine Initialization
The first phase requires a comprehensive setup of the execution environment. The Brixs Native EVM initializes the state and establishes secure connections with the P2P network. This ensures that when the DPoS Sequencer begins proposing blocks, there are no bottlenecks in transaction ingestion.
Transactions are ordered securely by the Encrypted Mempool to prevent MEV. The Native EVM processes transactions while the ZK-SNARK Prover Engine generates validity proofs. Once processed, the Sequencer commits the block to the Ethereum L1, achieving Rollup Finality and inheriting Ethereum's cryptographic security.