Project type: Developer Tooling

Reliable, high-performance smart contract automation | Chainlink
ProductsData[[Compute[[[[Use CasesUse Cases![ services powering hybrid smart contract use cases across a wide-variety of industriesLearn more! Tokenization
Sign up today your share of
**500k+** in prizes.Sign Up Now]( 2023 logo]( the biggest names in finance and techWatch live now]( Labs logo]( Labs is hiring. Come join an industry-leading team.See current openings icon](#)![Automation icon](# Automate any smart contract—up to 1/10th the gas cost
Chainlink Automation is an ultra-reliable and performant smart contract automation solution enabling developers to quickly scale their operations in a verifiable, decentralized, and cost-efficient manner.
Launch app docs]( Starts]( Checking conditions...! Conditions met‍! Performing Upkeep...! Upkeep performed! logo]( Dao logo]( logo]( logo]( logo]( logo]( Dao logo]( logo]( logo]( logo](## The most secure, reliable, and cost-effective automation service for Web3 developers
Chainlink Automation enables smart contract developers to innovate, optimize costs, unlock compute power, save time and resources spent on DevOps, and scale faster.
Chainlink Automation delivers the strongest security guarantees in the market, with verifiable compute provided via Chainlink's OCR3 consensus mechanism.
With OCR 3.0 enabling Automation nodes to come to consensus, users can offload their expensive onchain computation offchain to Chainlink Automation’s Decentralized Oracle Network at a fraction of the cost—with the same cryptographic guarantees.
Discover endless possibilities with log triggers, brand new ways of connecting smart contracts and building autonomous dApps, and massively increased computation power with Verifiable compute.
Scale hassle-free, from zero to millions of transactions, and avoid the challenges that come with building and maintaining the infrastructure needed to reliably automate across multiple chains.
## Start building with Chainlink Automation
Automate your smart contracts with industry-leading security and reliability guarantees while reducing your gas consumption.
Drastically increase your compute to cost ratio by offloading work to Chainlink Automation.](#w-tabs-0-data-w-pane-0)[Log triggers
Unlock endless possibilities by using Automation as a messaging bus to connect your smart contracts.](#w-tabs-0-data-w-pane-1)[Low-latency market data integration
Seamlessly integrate low-latency Chainlink data into your dApps with just three lines of code.](#w-tabs-0-data-w-pane-2)[
function checkUpkeep(Log calldata log, bytes memory) external view returns (bool upkeepNeeded, bytes memory performData)
// checkUpkeep is simulated off chain by a Chainlink DON using OCR3
// Do all of your off computation here for free
// Pass the result of the computation to perfomUpkeep through performData
function performUpkeep(bytes calldata performData) external
//On chain transaction logic
function checkLog(Log calldata log, bytes memory) external view returns (bool upkeepNeeded, bytes memory performData)
// Define the log that triggers your upkeep during the registration process
// Once detected, checkLog will run
// Use the data from the log here!
function performUpkeep(bytes calldata performData) external override
//On chain transaction logic
function checkLog(Log calldata log, bytes memory)
returns (bool upkeepNeeded, bytes memory performData)
// The StreamsLookup revert message tells the Chainlink DON to go retrieve Data Streams data
// The data retrieved after StreamsLookup is called is passed into checkCallback
function checkCallback(bytes[] calldata values, bytes calldata extraData)
returns (bool, bytes memory)
return (true, abi.encode(values, extraData));
// if checkCallback returns true, the price data is passed to performUpkeep for an on chain transaction
function performUpkeep(bytes calldata performData) external override {
(bytes[] memory signedReports, bytes memory extraData) = abi.decode(
bytes reportData = verifier.verify(signedReports[0]);
// Use signedReports as need to complete your transaction with price data
## Industry-leading automation powered by a decentralized network
[Automation nodes use your triggers and logic to determine what needs to happen onchain (and when). Nodes then come to consensus and the signed report is sent onchain to ensure the computation is verifiable, providing strong security and reliability guarantees.
Use CasesDeFiDerivativesPrediction MarketsRebalancingGaming## DeFi
From launching a DeFi product to scaling it across chains, Chainlink Automation provides DeFi protocols with the reliability and security that underpins the growth of the industry. Automation keeps you ahead in the fast-paced DeFi space by offering secure offchain computation and seamless integration with low-latency market data to enhance DeFi protocols and enable innovation through autonomously functioning smart contracts.
[View more use cases](“Chainlink Automation provides us with a provably reliable infrastructure to automate key smart contract operations in Tranchess in a decentralized manner. By automating the regular settlement of our funds along with Chainlink-powered TWAP oracle calculations, Tranchess continues to improve the superior user experience whilst empowering DeFi users with a wide variety of asset allocation flexibilities at the same time.”Tranchess team## Derivatives
Chainlink Automation 2.0 provides the best trading experience at the lowest cost by combining secure and reliable execution on low-latency market data with verifiable compute to reduce transaction gas costs. Innovate faster by tapping into the full potential of smart contracts.
[View more use cases](“Chainlink Data Streams allow GMX to deliver maximum speed, security, and reliability at scale and without compromise. They are essential infrastructure to unlock the future of highly performant, reliable, and decentralized on-chain derivatives.”XDevelopment core contributor of GMX## Prediction Markets
Chainlink Automation 2.0 empowers prediction markets with strong security guarantees and timely confirmation of transactions. Explore new possibilities in prediction markets with Chainlink CCIP, Data Streams, and Functions, while benefiting from decreased gas costs and increased operational efficiency. Scale effortlessly across multiple chains and enhance the user experience by increasing reliability and reducing costs and waiting times.
View more use cases logo](“We needed a reliable automation service in order for our prediction market to run exactly on-time every 5 minutes. Chainlink Automation provided us with a highly reliable solution we can depend on.”Chef SnowballHead Chef at PancakeSwap## Vault Rebalancing
Chainlink Automation 2.0 enables DeFi protocols to dynamically and securely rebalance their vaults according to verifiable offchain calculations and real-time conditions, significantly reducing gas costs and helping enhance the long-term performance of the vaults. As you focus on refining your asset strategy, Automation helps ensure that it scales across chains to deliver improved performance.
View more use cases Finance]( automation was the missing piece to creating a system that took advantage of UniswapV3 LP positions. We’re very excited about the opportunity to grow revenue for users without manual management from users or the core Pickle Finance team. Instead, independent Keepers in the Chainlink Network that have proven to be reliable node operators, even among periods of high network activity, can make life easier for everyone.”Pickle Finance## Gaming
With Chainlink Automation 2.0, developers can create dynamically responsive games leveraging offchain computation, enhancing user experience and potentially introducing novel game mechanics tied to real-world events. Your gaming protocols can scale from zero to thousands of transactions seamlessly, benefiting from cost-effectiveness and operational efficiency. Unlock new gaming experiences with log triggers and verifiable computation capabilities.
View more use cases IX logo ](“As best-in-class smart contract automation infrastructure, Chainlink Automation provides us with a secure and reliable execution service that helps us reduce costs associated with the creation of Planet IX NFTs.”Karl BlomsterwallCEO of Planet IX## Elevate your Web3 strategy
[Launch app](### Read docs
Review up-to-date documentation and guides.](### Join the masterclass
Watch tutorials and learn how to get started with Chainlink Automation.](### Ask technical questions
Ask experienced developers on the Community Discord.](### Go to QuickStarts
Accelerate your development process with ready to use tooling, code samples, and tutorials.]( code examples on this site are illustrative and are provided on an “as is” basis without any representations, warranties, covenants, or conditions of any kind. Use of these code snippets is governed by our Terms of Service found at chain.link/terms.## Get the latest Chainlink content straight to your inbox.
Email AddressYes, I agree to receive email communications from Chainlink.Thank you for signing up! Please check your inbox to confirm your subscription.![ Something went wrong while submitting the form. Please try again### Developers
* Use Cross-Chain (CCIP) 
* Use Data Feeds 
* Use Randomness (VRF) 
* Market and Data Feeds
* Proof of Reserve
* Become an Advocate
* Code of Conduct
* What Is DeFi?
* What Is an Oracle?
* What Is a Smart Contract?
* What Is an NFT?
* What Is Web3?
* What is Asset Tokenization?
* Careers ARE HIRING!
* Talk to an Expert
[Home
Privacy PolicyTerms of Service