March 03, 2025 - 5 min read
Bitcoin introduced blockchain technology by creating a decentralized digital currency. Ethereum expanded its capabilities by enabling smart contracts, which allow Turing-complete program execution on-chain. Since then, most new blockchains have adopted this approach. However, a key limitation of smart contracts is that they must always be externally triggered — requiring a transaction to execute a contract with the necessary input parameters.
Automation Networks solve this limitation by using a network of external nodes that continuously monitor the blockchain. When a specific condition is met, these nodes automatically send a transaction to execute the required action. This enables if-this-then-that style transactions, allowing for automation on the blockchain.
In most current automation networks, a user registers a task with a registry contract, which keeps track of all automation requests. This expresses the user’s intent to trigger a specific action on the blockchain automatically.
Once a task is registered, the automation network follows these steps:
This process ensures automation of on-chain actions, but it may not be particularly seamless, as there are several stages where the automation could fail.
Most automation networks today trigger transactions based on time schedules or cryptocurrency price thresholds.
A key challenge is the delay between when a condition is met and when the transaction is executed on-chain, which can span multiple blocks. In time-sensitive applications, this delay can be costly. For example, if a collateral liquidation is triggered too late, its value may have already dropped significantly, leading to major losses for lenders.
Users must also pre-fund their automation accounts to cover gas fees and service charges. Since the automation network submits transactions on their behalf, it executes them under its own authority. If a transaction requires privileged access, users must delegate the necessary permissions to the automation network.
As a vertically integrated Layer 1 blockchain, we considered offering enshrined automation services and explored the benefits of such an approach.
With Supra’s Zero-Block-Delay automation, active automated tasks are executed immediately at the end of each block, eliminating delays and trigger failures ensuring faster, more reliable execution.
Our automation service eliminates the need to specify conditions separately from the on-chain actions they trigger. Unlike traditional automation networks, both the condition and the action are evaluated within the blockchain state itself. Time-based conditions are derived directly from block timestamps.
All three steps below happen within a single block execution:
Since automation tasks execute at the end of each block, any condition that becomes true within a block triggers its corresponding action in the same block—eliminating delays.
For example, consider an automation task AT1 with the condition:
if C then execute_action() endif
If C becomes true at the end of block B, execute_action()
is triggered immediately within the same block, achieving zero-block delay from condition to execution.
To register an automation task, the target smart contract—the one being automated—must first be deployed on the blockchain.
A task is removed for one of two reasons:
expiry_time
.Once expired or canceled, the task is removed from the automation registry in the next epoch change.
An automation task executes with the same authority as the user who registered it. For example, if Alice registers the task:
if Alice.balance > 10,000 then transfer(Alice, Bob, Alice.balance - 10,000)
This task will execute automatically at the end of every block, without Alice needing to sign each transaction. Her initial registration signature serves as proof of intent, ensuring that the task runs as if she executed it herself. This would ensure that every time Alice
’s balance goes above 10000
, the surplus amount is transferred to Bob
.
To maintain zero-block-delay guarantees, a portion of block space is reserved for automation tasks.
The charging model includes multiple parameters that can be adjusted by Supra Governance to ensure fairness and efficiency.
(epoch_interval or expiry_time
, whichever is earlier).A lending protocol issues loans backed by collateral. For example, it might lend Alice $800K in SUPRA against $2M worth of Terra LUNA. If the collateral’s value drops below the loaned amount, the protocol must liquidate it immediately to prevent losses.
In extreme market crashes—where LUNA’s price drops by 10% per block—delayed liquidation could be catastrophic. A 5-block delay could result in hundreds of thousands in losses, potentially escalating to millions for larger loans.
With Supra’s Zero-Delay Automation, the protocol can trigger liquidations in the same block the price threshold is breached, minimizing losses and ensuring financial stability.
Unlike the hybrid models that dominate today’s order book DEX landscape, Supra’s Zero-Delay Automation enables order placement, matching, and settlement to occur within a single block. The result is a significantly enhanced user experience, with transaction speeds comparable to those of centralized exchanges (CEXs). This could also enables real-time surveillance applications, such as automated alerts for monitoring order book activity on-chain.
Currently, Supra’s Zero-Delay Automation executes tasks within the Supra L1 blockchain. However, with the upcoming SupraNova cross-chain communication protocol, we plan to integrate automation with cross-chain transactions. This would enable fast, automated actions across multiple blockchains.
RECENT POSTS
Đăng ký nhận bản tin Supra để cập nhật tin tức, thông tin mới nhất, insight trong lĩnh vực Blockchain và nhiều hơn thế nữa.
©2025 Supra | Entropy Foundation (Thụy sĩ: CHE.383.364.961). Đã đăng ký Bản quyền