Relayers
Everything you need to start running a relayer
Last updated
Everything you need to start running a relayer
Last updated
Hyperlane Relayers deliver interchain messages to their recipients.
Every Hyperlane message requires two transactions to be delivered, one on the origin chain to Send the message, and one on the destination chain to Receive the messages. Relayers are responsible for sending the second transaction.
Hyperlane relayers are configured to relayer messages between one or more origin chains and destination chains. Relayers have no special permissions in Hyperlane. If relayer keys are compromised, only the tokens held by those keys are at risk.
Running a relayer requires the following:
Relayers use RPC nodes to read the origin chain(s), and deliver messages to the destination chain(s). Relayers must be configured with an RPC node for all origin and destination chains.
In order to deliver messages, relayers must be configured with a signing key for each destination chain.
The relayer uses this key to sign Mailbox.process()
transactions. The Hyperlane relayer agent currently supports configuration with AWS KMS keys that are accessed via API keys/secrets or raw hexadecimal private keys.
Relayers can compile the Rust binary themselves, or run a Docker image provided by Abacus Works. The binary can be run using your favorite cloud service.