Event-Driven Architecture
React to contract events, new blocks, and pending transactions with simple Python decorators.
Silverback is a way to create Python bots to act and react to on-chain events.
Silverback is a framework for building event-driven Python bots that listen and react to blockchain activity. Built on top of the Ape ecosystem, it gives you the full power of Python to automate on-chain workflows.
Everything you need to build intelligent on-chain bots.
React to contract events, new blocks, and pending transactions with simple Python decorators.
Leverage the full Ape plugin ecosystem for multi-chain support, account management, and contract interaction.
Deploy bots that run reliably with built-in error handling, retries, and monitoring hooks.
Run bots against any network supported by Ape, from local forks to production Ethereum environments.
Write bots in clean, idiomatic Python. Use any library from the Python ecosystem alongside your bot logic.
Package repeatable on-chain operations into bots that can be tested locally and deployed with confidence.
Define handlers, subscribe to events, deploy your bot.
from silverback import SilverbackBot
bot = SilverbackBot()@bot.on_(contract.Transfer)
def handle_transfer(log):
print(f"Transfer: {log.amount}")silverback run --network ethereum:mainnetSilverback powers a wide range of on-chain automation.
Track liquidity changes, large swaps, and protocol health metrics in real-time.
Send alerts to Slack, webhooks, or email when specific on-chain conditions are met.
Stream decoded on-chain data into databases, dashboards, or analytics platforms.
Automate recurring protocol maintenance, liquidations, rebalances, and other time-sensitive actions.
Execute transactions automatically in response to on-chain events and conditions.
Coordinate admin workflows, treasury movements, and safety checks with auditable Python logic.
Start building your first on-chain bot in minutes.