Loading video...
Video Failed to Load
Smart contracts have been trapped in reactive mode. The infrastructure endgame needs more. ❖ Introducing Scheduled Transactions ❖ Smart contracts that proactively execute on your behalf—truly autonomous *actually* smart contracts that live onchain.
56,339 views • 1 year ago •via X (Twitter)
11 Comments

While building @Frenrug—our AI agent that managed real assets on @Base—we hit a fundamental limitation: offchain keepers. Managing offchain keepers means extra servers, private keys to secure, flaky uptime, and surprise gas bills.

Keepers are offchain services that monitor blockchain conditions and trigger smart contract functions when needed. But smart contracts shouldn't need baby sitters.

Need price updates every hour? You need an offchain keeper. Want an agent to pay a subscription onchain? You need an offchain keeper. Want any sort of recurring logic? You guessed it - offchain keeper. These constraints contradict the vision of a decentralized, intelligent, and secure computational fabric.

The solution? Scheduled Transactions. A new onchain primitive for recurring calls with prioritized execution, with zero external keepers required. Here's how it works:

Your contract makes a single call to the Scheduler contract, providing: -Which function needs automatic execution -How often it should run -How much gas to allocate -Duration of the scheduled period Putting your conditional logic inside your contract enables dynamic, state-aware behavior.

This unlocks a net-new design space where you can build dapps that: ❖Allow agents to live autonomously onchain without being ‘turned on’❖ ❖ Subscription payment systems that process on-chain billing❖ ❖Rebalance vaults according to the very latest asset prices.❖ ❖Automate prediction market resolution.❖ And more, without a single off-chain process.

What dapp will you build first? Describe your ideal setup—which contract, how often it runs, what conditions trigger it—and we'll RT the most innovative ideas!

More about Scheduled Transactions can be found in our docs:

Scheduler.schedule(Let The Ritual Begin) // Scheduler.cancel()? we’re in this forever

This is a game-changer for smart contract functionality. The shift from reactive to proactive execution with Scheduled Transactions is exactly what the blockchain ecosystem needs to scale autonomously. Looking forward to seeing how devs leverage this to build innovative dapps. Thanks for pushing the boundaries of what's possible onchain.

Stay competitive by balancing cutting-edge AI with automation tools. Forrester shows how.
