Gasless Transactions on zkSync
Last updated
Last updated
This guide will walk you through the steps to interact with Venus Protocol on ZKsync without needing ETH to cover gas fees, thanks to the integration of Zyfi Paymaster. All transactions will be sponsored, so you can focus on using the protocol without worrying about gas expenses.
Open the Venus app and connect your wallet.
Make sure you are connected to the ZKsync network. If you are not, switch your wallet’s network to ZKsync.
In this example, we will approve the use of the ZK market as collateral.
Navigate to the ZK market on Venus.
Click on "Collateral" to enable the use of this market as collateral.
Instead of sending a typical transaction, you will be prompted to sign a message. This step authorizes Zyfi to pay for the gas fee of the transaction on your behalf.
Sign the message in your wallet. The gas for the transaction will be covered by Zyfi Paymaster, so you don’t need ETH in your wallet.
Once signed, Zyfi processes the transaction, and it is sent to the ZKsync blockchain with gas paid through their vault.
You can verify the transaction on the ZKsync Explorer. The transaction will display Zyfi as the Paymaster, covering the gas fees.