The Relayer
Last updated
Last updated
Relayers are responsible for submitting meta-transactions on behalf of users. That is, relayers pay the gas costs for user transactions. This is necessary because gas costs must be paid to the base layer blockchain, which is usually public, and so the anonymity of users would be compromised if they paid their own gas. Meta-transactions can be programmed in such a way that it is impossible for a relayer to corrupt or change the transaction, resulting in a trust-less relay network that does not require incentives to prevent malicious activity.
Currently, the Singularity operates it's own relayer service. However, in the future anyone with a sufficient quantity of staked Singularity tokens is able to operate a relayer. Transactions submitted by users have (publicly) associated with them a fee that will be paid to the relayer to compensate them for their gas expenses. In aggregate, the network of relayers is assumed to be rational, and will pick up any profitable transaction and submit it. Individual relayers may decide to ignore some transactions, but as long as the network has a sufficient number of relayers, eventually profitable transactions should end up submitted.
0x06A66E7C2e24b9353b0Cc902cf9330228159f02C