Scheduled transactions enable recurring, conditional invocation of smart contract functions, at the top of a block, without the need for external keepers.
To read in-depth about scheduled transaction implementation, reference the
architecture page.
Developers want the ability to periodically execute functions in their smart
contracts (think, to update parameters or continue the regular operation of a
protocol).Today, this functionality has to be out-sourced to off-chain keeper bots
operated either by:
Keen MEV searchers incentivized by protocol subsidies
Regardless of the operator, this forces protocols to rely on off-chain
entities for secure operation of their on-chain applications, frequently
without any SLA’s or execution guarantees.
Ritual is one of the first EVM blockchains to enshrine native scheduling.
Developers can schedule and pay for recurring smart contract function invocation
on-chain.Instead of relying on centralized third-party keepers, scheduled transactions
allow developers to benefit from the robust properties and architecture of
Ritual Chain, with block proposers including scheduled transactions at the top
of their blocks natively.Plus, developers can go as far as exposing custom view functions that dictate,
in real-time, whether or not their contract should be invoked, enabling truly
autonomous use cases.