Skip to main content

Why gasless

A blockchain charges for the work it does, and it charges in its own token. On MultiversX that token is EGLD. This is a reasonable design and it has one consequence that is felt by almost every new user and almost every program: you cannot do anything at all until you hold EGLD, even if what you wanted to do has nothing to do with EGLD.

The three cases where it hurts​

The first transaction​

Someone receives USDC. They open a wallet. They want to send some of it on. They cannot, because the wallet needs a fee and the fee is a token they have never heard of. The fix is a trip to an exchange to acquire a few cents' worth of a second asset — which, for most people, is where the story ends.

The balance that has to be kept​

A business that settles in a stablecoin has to keep a float of a different, volatile asset purely to be allowed to move the first one. That float has to be monitored, topped up, accounted for and written down when the price moves. It is an operational tax on doing anything on chain.

The program with no human​

An agent, a scheduler, a backend job — anything that acts without someone watching — cannot go and buy gas. Give it a gas balance and you have given it an expiry date: it runs until the balance is empty, then it stops, and someone has to notice. Most autonomous systems fail this way long before they fail for an interesting reason.

What a relayer changes​

MultiversX has a protocol feature for exactly this. In a relayed transaction, the fee is paid by an account other than the sender: the relayer. The sender signs, the relayer signs, and the network charges the relayer. Nothing about the sender's authority changes — it is still the sender's signature that authorises the transfer or the contract call.

So the requirement moves. Instead of everyone needing EGLD, one party needs EGLD, and everyone else can pay that party in whatever they actually hold. CoRelayer is that party, and it takes payment in USDC.

What it costs​

Nothing is free, and it is worth being precise about where the cost lands.

  • CoRelayer carries the EGLD risk. We buy EGLD, we spend it on fees, and the price of EGLD moves. Your price is fixed in USDC for the period you paid for; the exposure between those two facts is ours. That is the product.
  • You pay a margin. The subscription is priced above the expected fee cost, because the service has to cover volatility, the infrastructure that makes delivery reliable, and failed transactions. A transaction that runs and fails still costs the relayer its full fee, so it counts against your plan; one that never runs costs nothing and does not count. (Delivery guarantees)
  • You give up nothing else. Not custody, not control over the transaction, not the ability to verify. Those are the properties a relayer design must not cost you, and the rest of this section explains how each one is preserved.

What it does not change​

Still trueWhy
Only you can authorise your transactionYour Ed25519 signature is what moves your funds. A relayer signature authorises nothing but the fee.
Your nonce still orders your transactionsRelayed v3 consumes the sender's nonce, not the relayer's.
The transaction is public and verifiableIt goes to the same chain, into the same blocks, with both signatures visible.
The network's rules still applyBalance, gas, the contract's own checks. A relayer cannot make an invalid transaction valid.

Next​