Cointime

Download App
iOS & Android

Chainlink Automation 2.0’s Verifiable Compute—A Leap Forward for Web3 Computation

Validated Project

Save costs by offloading onchain compute to cryptographically verified offchain compute.

Since its initial launch, the focus for Chainlink Automation has been on developing new features and introducing new sets of triggers that enable developers to build novel onchain applications without having to create and manage supporting infrastructure. With this focus, Chainlink Automation has helped bring reliable and decentralized automation to a wide variety of smart contract automation use cases.

Chainlink Automation 2.0’s verifiable compute introduces a new era for secure and trust-minimized smart contract automation, transitioning from a turn-taking mechanism to a consensus mechanism using Off-Chain Reporting (OCR) 3.0. Now, developers can leverage Chainlink Automation 2.0’s consensus model to offload computation, boost performance, and reduce onchain costs by accessing secure, reliable, and verifiable offchain computation with enterprise-grade reliability and the highest standard of cryptographic guarantees.

In this blog post, we’ll outline the benefits of Chainlink Automation 2.0’s verifiable compute layer and showcase novel use cases it enables for developers looking to gain a competitive edge.

This is the first post in a three-part series on Chainlink Automation 2.0.

The Importance of Secure Offchain Verifiable Compute

Smart contracts need a secure, transparent, reliable, and cost-effective way to be triggered. While onchain computation suits many scenarios, it’s not ideal for secure and reliable automation, necessitating the use of offchain computation. Some projects use centralized setups to perform the triggering compute offchain, and while these methods can be cost-effective, they are not secure, transparent, or reliable compared to decentralized standards. 

Some automation services enable triggering smart contracts using decentralized networks of nodes, with only one node responsible at any given time, putting the cost-intensive responsibility of revalidating the calculation onchain on projects.

Automation 2.0 adds cryptographic consensus to decentralized offchain compute, removing the need for projects to do expensive onchain validation of the compute, and giving users the best combination of security, transparency, reliability, and cost-effectiveness of any smart contract automation solution. With Automation 2.0, developers are able to increase the uptime guarantees of their dApps, save on costs, simplify UX, and create complex, feature-rich verifiable applications that are fully automated end to end.

Chainlink Automation 2.0: A Verifiable Compute Layer for Web3 Automation

With the introduction of 2.0, Chainlink Automation is now more than a secure and reliable smart contract automation service—it is a fully fledged, gas-efficient verifiable computing service for onchain applications. Solidity computations can be offloaded to battle-tested Chainlink decentralized oracle networks (DONs) to achieve up to 10x savings on gas costs, effectively enabling developers to 10x their computation power for the same cost.

Chainlink Automation 2.0 enables projects to offload complex smart contract logic to offchain decentralized oracle networks.

Thanks to its core functions and composability capabilities, Automation 2.0 is a robust solution for building Web3 services following a trigger-compute-action workflow, unlocking new ways to connect multiple dApps.

The Quorum Mechanism Powering Chainlink Automation 2.0

Nodes in the Automation network continuously monitor jobs, come to consensus using OCR 3.0, and sign a report before the job transactions are sent. The signed report contains the performData that will be executed onchain, which is then validated on the Registry before execution to provide cryptographic guarantees. This ensures that job transactions and inputs are confirmed by multiple nodes before they are executed, providing a high degree of trust-minimization since users don’t have to trust any single node in the peer-to-peer network to execute their automation job. 

The use of OCR 3.0 as a consensus mechanism means developers can perform complex, gas-intensive calculations offchain—now with a 10M gas limit—saving onchain gas cost, and send the results onchain knowing that multiple nodes have confirmed the same calculations. These offchain calculations are Geth simulations that use onchain logic and data, which introduces additional redundancy since jobs will not be affected in the case of a single node going offline. In addition, there’s no need to perform additional onchain validations of the results, further reducing gas costs.

Nodes successfully execute transactions by leveraging Chainlink’s transaction manager to take care of gas bumping, nonce management, block reorganizations, and gas spikes. This transaction manager has been battle-hardened over the course of multiple years and is continuously being improved upon for increased resilience. The end product is a hyper-reliable and trust-minimized automation service that can execute and confirm transactions even during intense gas spikes or on networks with block reorganizations or consensus inconsistencies.

Chainlink Automation 2.0 Verifiable Compute Use Cases

Automation 2.0’s verifiable compute capability optimizes gas efficiency and computation power. As Automation 2.0 leverages Chainlink’s OCR 3.0 protocol, jobs have to be confirmed by multiple nodes before they are executed, providing strong cryptographic guarantees and a high degree of trust-minimization for the execution of the automation job.

Developers can leverage Chainlink Automation 2.0’s consensus model to offload computation, boost performance, and reduce onchain costs by accessing secure, reliable, and verifiable offchain computation with enterprise-grade reliability and the highest standard of cryptographic guarantees. Leveraging OCR 3.0 as a consensus mechanism also unlocks new use cases, as onchain computations can be offloaded offchain.

These verifiable compute capabilities unlock a multitude of use cases for Web3 developers. Here are a few examples to get you started:

  • Vault deposit/withdrawal calculations—When users deposit or withdraw in an ERC-4626 tokenized vault, Automation 2.0 can perform the intensive calculation that converts assets to shares of liquidity within the pool. Then, the same calculation can be repeated depending on the time elapsed since the last update or at a specified deviation threshold.
  • Fisher-Yates shuffle on Chainlink VRF response—Shuffling an array of data based on a random seed input is a prohibitively expensive calculation to perform onchain. With Chainlink Automation, the cost of this computation can be pushed offchain, while only the data (new array) is written onchain. Projects can utilize this use case to help randomize an NFT mint or shuffle a set of data in a game.
  • Limit orders and liquidations—DeFi projects can take advantage of OCR 3.0 and offchain computation for their conditional orders by doing constant checks against all open orders in a dApp to see if any orders need to be executed or liquidated. By having all nodes in the Chainlink Automation DON come to consensus on the execution of these orders offchain, projects can save on gas costs that would otherwise be incurred onchain.

In the following section, we’ll showcase a number of in-production Automation 2.0 use cases that demonstrate the verifiable compute service’s ability to enhance Web3 projects.

Verifiable Compute In Action

Automation 2.0 offers reduced gas costs by enabling users to offload complex computations to an offchain peer-to-peer network.

One example of this is Sommelier, a protocol that offers automated yield-generating vaults to users. When users deposit or withdraw, ERC-4626 tokenized vaults use a complex calculation to convert assets to shares of liquidity within a given pool. This calculation compounds as the number of vaults is increased in custom portfolio applications. By leveraging verifiable compute, the calculation can be performed offchain for the result to be sent onchain to Sommelier’s contract, saving up to ten times the cost for the end user.

“Sommelier is using Chainlink Automation 2.0’s secure offchain computation to drastically reduce user vault deposit/withdraw costs by shifting the gas burden to offchain calculations.”—Josh Kessler, Head of Growth at Sommelier Finance

Developers can drastically increase their compute to cost ratio by offloading work to Chainlink Automation DONs. By enabling more composability and scalability with log triggers, Automation 2.0 unlocks new ways of connecting smart contracts and building dApps that are automated end to end, along with massively increased computational power through verifiable compute.

When combined, the enhancements of Automation 2.0 create a powerful compounding effect. 

Oku, an enhanced user interface for Uniswap v3, is using Chainlink Automation to enable DEX limit orders by performing regular heavy computations offchain to calculate whether any limit orders need to be executed. 

“We’re excited to be using Chainlink Automation to help users post limit orders on Uniswap v3 across all of the top chains. Without the battle-tested automation service, we would need to maintain in-house infrastructure to enable limit order functionality. Chainlink Automation helps make our lives easier so we can focus on building more advanced tools for Uniswap v3 users and the broader DeFi ecosystem.”—Getty Hill, Founder of GFX Labs & Oku

Thena—a liquidity layer and automated market maker on BNB Chain—is using Chainlink Automation for seamless reward distribution for its users.

“Thena is looping through all pools to distribute the fees to veTHE holders three times per week. This loop requires the use of multiple arrays (memory) and storage for indexing. Thanks to OCR 3.0, we are able to loop on checkUpkeep and encode the required data for performUpkeep, greatly reducing our costs. The first run confirmed a reduction of ~40% of automation costs.”—Theseus, CEO & Co-Founder of Thena

An automated market-making solution for Uniswap v3, ICHI performs a continuous check on Uniswap v3 concentrated liquidity pools using Chainlink Automation to calculate computationally sophisticated algorithmic strategies. ICHI uses the result of this computation to decide when to perform necessary rebalances, saving on heavy computation and gas costs.

Developer Resources for Chainlink Automation 2.0

Chainlink Automation 2.0 represents a paradigm shift in Web3 app development. As a verifiable compute layer, Automation enables developers to access advanced offchain computation while maintaining the trust-minimization and cryptographic guarantees of the underlying blockchain. By enabling developers to offload any smart contract computation offchain in a verifiable and ultra-reliable manner, Automation 2.0 unlocks up to 90% savings in gas costs.

As of January 2024, Chainlink Automation is live on seven chains: Arbitrum, Avalanche, BNB Chain, Ethereum, Fantom, Optimism, and Polygon.

Comments

All Comments

Recommended for you

  • Musk: Future Phones Will Have No Apps or Operating Systems, Just AI Generation

    On October 25, Musk predicted that in the next 5 to 6 years, smartphones may undergo a complete transformation: traditional operating systems and apps will gradually disappear, and phones will become dedicated terminals for running AI. At that time, users will no longer need to download applications or open software; instead, they will simply tell the AI what they want, and the phone's AI will collaborate with cloud AI to generate videos, images, and various interactive content in real-time.

  • Iran: Tehran's Stance Unchanged Despite Potential New U.S. Strikes

    On October 25, Iranian Foreign Minister Zarif stated on Sunday that Iran's position will not change even if a new round of conflict erupts between Israel and the United States. This comes amid escalating tensions between Tehran and Washington. U.S. President Trump had mentioned on Friday that Washington "might come back for another small-scale 'epic fury'" military operation. Zarif remarked, "Recently, some have talked about the possibility of a new war, but I am already considering the post-war situation. Our policies will not change whether or not war occurs. They have tried twice before and have seen the results. If they want to try again, they should understand that the final outcome will be no different from the past." (Golden Ten)

  • Russia Ready to Supply Any Amount of Diesel to the U.S.

    On October 25, Russian Deputy Prime Minister Novak stated that Russia is prepared to supply any amount of diesel to the United States.

  • Egypt's Benchmark Stock Index Declines by 5%

    Egypt's benchmark stock index has expanded its decline to 5%.

  • Yemen Conflict Escalates, Saudi and Egyptian Stock Markets Decline

    On October 25, Sunday, the stock markets in Saudi Arabia and Egypt experienced declines. This followed a statement from the Saudi-led coalition indicating that, amid escalating conflicts with the Yemeni Houthi forces, the coalition intercepted several drones and missiles over Riyadh and southern Saudi Arabia. Under pressure from widespread sell-offs, the Saudi benchmark index (TASI) fell by 2.6%, marking its worst intraday performance since April 2025, with major stock Saudi Aramco dropping by 1.1%. Outside the Gulf region, the Egyptian blue-chip index (EGX30) plummeted by 2.5%, nearing its lowest level in about seven months, with all constituent stocks declining. The Egyptian parliament is expected to vote on October 26 to decide whether to authorize the armed forces to provide support for Saudi Arabia in its conflict with the Houthi forces upon request.

  • SemiAnalysis CEO: Substrates are the 'Biggest Bottleneck'

    On October 25, the CEO of SemiAnalysis stated: 'I believe that in the semiconductor industry, the biggest limiting factor, aside from memory, is substrates. Substrates, PCB materials, and substrate materials are all severely under-invested. Many companies in the supply chain that produce these materials in Japan are relatively conservative and unwilling to make significant investments in capacity. As a result, there is a huge bottleneck. In terms of what can be produced in the next two years, whether it’s accelerators, CPUs, or any other component in the supply chain, I believe substrates are the biggest bottleneck.'

  • Keystone Hardware Wallet Website Hacked, Customer Information Leaked

    On October 25, Hong Kong-based self-custody hardware wallet brand Keystone, known for its full isolation and QR code signing, disclosed that its official website was unauthorizedly accessed on October 20, exposing customer names, contact information, shipping addresses, and order details (including purchased products and prices). The company confirmed on October 23, after verifying API activity with Shopify, that a third party obtained customer shipping information. Keystone emphasized that payment card and bank information, mnemonic phrases, private keys, and wallet passwords were not leaked. The company has blocked access, patched vulnerabilities, initiated an investigation, and notified affected customers via email, warning that scammers may impersonate Keystone to deceive customers under the pretext of refunds or device exchanges. Customers are advised not to click on suspicious links and not to disclose mnemonic phrases and private keys, with plans to release a detailed report within a few days. Other companies in the industry, such as Trezor (which experienced a leak from logistics provider ShipMonk in August) and Ledger (which had a security incident this month involving modified devices stealing mnemonic phrases), have also faced security issues.

  • Goldman Sachs Lowers 12-Month Target for South Korea's KOSPI Index by 25%

    On October 25, strategists at Goldman Sachs Group lowered their target for South Korea's KOSPI index by 25%. Previously, they had raised the target multiple times this year, but with increasing market concerns over AI-related trades, they have now opted for a downgrade. Led by analyst Timothy Moe, the team reduced the 12-month target for the KOSPI index from 12,000 points to 9,000 points. They noted that, given the benchmark index has fallen more than 35% from its peak in June, valuation assumptions need to become more cautious. These strategists believe that the current sell-off has left the South Korean stock market significantly undervalued; even after the target downgrade, the index still has over 60% upside potential.

  • Iran-Pakistan Border Reopens

    On October 25, according to Fars News Agency, Pakistan has reopened the Gabd-Rimdan border crossing in the Gwadar region, allowing trucks carrying liquefied gas and essential goods to resume passage. The crossing had been closed for less than a week due to security concerns and efforts to combat smuggling. Meanwhile, natural gas prices in Pakistan have reached a historic high.

  • South Korea Delays Cryptocurrency Tax Policy Originally Set for January

    On October 25, the South Korean presidential office decided to postpone the cryptocurrency income tax policy that was scheduled to take effect in January next year. An official from the presidential office stated on the 25th, "The discussions are leaning towards delaying the implementation of the cryptocurrency tax." The South Korean government had established a tax on virtual asset gains as early as 2020 when it revised the Income Tax Act, but the policy has been delayed three times. Initially set to take effect on January 1, the presidential office has now decided to postpone it again, citing incomplete tax administration preparations and public opinion among the youth. According to the revised Income Tax Act, annual gains from the transfer or lending of virtual assets are subject to a combined tax rate of 22% (including other income taxes and local income taxes) after a basic tax exemption of 2.5 million won.