Relayers deliver interchain messages to their recipients
Relayers are responsible for aggregating validator signatures and submitting merkle proofs to Inboxes, delivering interchain messages to their recipients. They are an integral part of the protocol, and are a totally permissionless role. Anyone can become a relayer.
The relayer does not receive direct token incentives from the protocol, but relayers can configure their fee structure for the messages they process, enabling them to earn revenue streams for providing their critical service.
Relayers are configured to point to the Validators' storage modality to read the signatures off-chain and aggregate them before submitting them on-chain.
Relayers can easily configure the messages that they wish to process. At launch, the relayer will support:
  1. 1.
    A sender/recipient whitelist
  2. 2.
    A sender/recipient blacklist
  3. 3.
    The ability to accept payments on the origin chain as for processing a message on the destination chain.
For convenience, Abacus Works will run an open source and configurable relayer agent, implemented as a Rust binary. If you'd like to run your own relayer, we've open sourced the binary here.
Eventually, we envision a robust marketplace of relayers, each providing unique transaction processing services with different fee structures. Additionally, it is possible that Relayers will eventually receive token incentives from the protocol for the services they provide.

Error handling

The relayer may be configured to retry messages when processing fails. Messages that fail to process on the first attempt will cause the relayer to retry with exponential backoff. After a maximum amount of retries, the relayer will no longer attempt to process the message.
Copy link