Gelato's Web3 Functions is live on zkSync Era!
Gelato Team
•
Jun 29, 2023

Exciting news for developers building in the zkSync environment! Gelato’s Web3 Functions are now officially live on zkSync Era.
This means that if you're developing on zkSync Era, you can now automate your smart contracts with off-chain data, powered by Gelato's Web3 Functions. In other words, you can bring off-chain logic into your dapps, massively expanding their scope and capabilities.
Understanding zkSync Era
zkSync Era, developed by Matter Labs, is a Layer 2 scaling solution for Ethereum that uses zkRollup technology to deliver fast and cost-effective transactions while inheriting Ethereum-level security. It’s fully EVM compatible, so developers can deploy their existing Ethereum apps with minimal changes.
zkSync Era offers near-instant confirmations and low fees for ETH and ERC20 transfers. By supporting the standard Web3 API and Ethereum features, developers can interact with contracts just as they would on mainnet—only faster and cheaper.
Understanding Gelato’s Web3 Functions
Gelato's Web3 Functions are decentralized cloud functions designed for Web3, enabling developers to execute on-chain transactions triggered by off-chain data (APIs, subgraphs, custom computation).
On-chain
The smart contracts you want to automate and control.
Off-chain
The Web3 Function logic itself: fetch APIs, run computations, and decide whether or not to call your smart contract.
Web3 Function Task
The configuration that defines when to trigger the function, and which contract/method to target.
By combining these components, Gelato connects off-chain logic with on-chain execution—empowering developers to create powerful, data-driven automations.
Automating DeFi Apps on zkSync Era
The integration of Gelato Web3 Functions with zkSync Era enables a wide range of DeFi automation use cases:
Yield Farming
Automate compounding strategies: monitor accrued rewards and reinvest them when they cross thresholds. Dynamically reallocate across pools based on real-time yield data for optimized returns.
Oracles
Maintain reliable, timely data feeds. Gelato automates monitoring off-chain sources and triggers updates, ensuring contracts always use accurate market data.
Token Swaps
Automate trading strategies: monitor token balances and market prices off-chain, then execute swaps only when conditions are favorable—improving capital efficiency.
Conclusion
The launch of Gelato’s Web3 Functions on zkSync Era is a huge leap forward for DeFi developers. It makes dapps more versatile and user-friendly by seamlessly integrating off-chain data with on-chain logic. Developers can now automate complex financial operations with ease, unlocking the full potential of decentralized finance.
Gelato, relied upon by 400+ Web3 projects, continues to power millions of transactions across DeFi, NFT, and Gaming.
Gelato Services
Web3 Functions: Connect contracts to off-chain data & computation with decentralized cloud functions.
Automate: Automatically execute smart contracts with time-based or custom triggers.
Relay: Enable gasless transactions for users with a secure, reliable relayer network.
Gasless Wallet: SDK that combines Gelato Relay + Safe Smart Contract Wallet for Account Abstraction.
Witness the ongoing journey towards a decentralized future with Gelato!