Gelato Network
Search…
✅
Is your contract already compatible?
See if you are ready to use Gelato Relay today!

If your dApp workflow already handles its security in-house (i.e. use of user signatures, replay/reentrancy protection etc.) and you want to sponsor your user's gas, you are ready to use Gelato Relay without any change to your existing smart contract logic. This will be using the relayWithSponsoredCall method, with Gelato 1Balance as the payment method.
Otherwise, if your target contract is already ERC-2771 compatible, all you need to do is set Gelato Relay as your trusted forwarder with the address 0xaBcC9b596420A9E9172FD5938620E265a0f9Df92. Furthermore, you would use the relayWithSponsoredUserAuthCall SDK method, with Gelato 1Balance as the payment method.
If your contract is not ERC-2771 compatible, and you want to use relayWithSponsoredUserAuthCall, you will have to deploy a new contract (or upgrade if you can) with explicit ERC2771Context support. Please find more information on this here.

If you do not want to sponsor your user's gas, you will use the relayWithSyncFee SDK method with the SyncFee payment method, and this will require you to deploy a new contract (or upgrade if you can).
Copy link
On this page
Do you want to sponsor gas?
Without gas sponsorship