Relayer
An off-chain actor or service that observes one blockchain and submits messages or proofs to another system.
Explain Like I'm 12
An off-chain actor or service that observes one blockchain and submits messages or proofs to another system.
Why It Matters
Interoperability allows assets, messages, and applications to operate across otherwise separate networks.
How It Works
Relayers continuously listen to events on a source blockchain via its API or RPC nodes. Once an event is detected, they package the transaction proof and broadcast it to the destination blockchain, where a smart contract verifies the proof against the source chain's known state.
Real-World Example
In the Cosmos ecosystem, anyone can run a relayer process to help pass packets between networks like Cosmos Hub and Osmosis.
Advantages
- Facilitates permissionless message transport
- Decentralized operation models
- Essential for protocol connectivity
Limitations
- Relayers may require economic incentives
- Risk of censorship if not diverse
- Maintenance intensive for operators
Common Misconceptions
- Relayers are the ones moving the funds. Relayers only move proof of funds; the smart contracts on both chains handle the actual asset management.
- Relayers can forge transaction data. Relayers cannot change data because the target chain always verifies the cryptographic proof against the source chain's state.
Knowledge Explorer
Explore This Concept in the Knowledge Graph
See how Relayer connects to other concepts, books, research, and developer resources.
Related Terms
Bridge
A blockchain bridge is a protocol that enables the transfer of data, assets, or smart contract instructions between two distinct blockchain networks. It acts as a middleware layer that overcomes the inherent inability of independent chains to communicate directly. Bridges typically function by locking assets on the source chain and minting a corresponding representation on the destination chain, or by using a burn-and-mint mechanism to ensure the total circulating supply remains consistent across both environments.
Relayer
An off-chain actor or service that observes one blockchain and submits messages or proofs to another system.
Wrapped Asset
A token representation of an asset originating on another chain or system.
Chain Abstraction
An approach that hides blockchain differences so users and applications can interact across networks without manually managing each chain.
Cross-Chain Messaging
Protocols and mechanisms that transmit authenticated messages or instructions between separate blockchain networks.
Intent
A user-specified desired outcome that lets solvers or protocols determine how to execute the necessary transactions.