← ClaudeAtlas

writing-botslisted

Write a bot to continuously listen and respond to events on a public blockchain network.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 82
Install: claude install-skill aiskillstore/marketplace
This skill describes when and how to a bot using the Silverback SDK. The user provides operational requirements such as which blockchain network they want it to run on, which smart contracts they want to interact with, what types of actions they want to take. They may provide additional context about technical constraints, or scenarios it must avoid. ## Using This Skill **CRITICAL**: Before writing any Silverback bot code, you MUST: 1. Use `web_fetch` to retrieve the latest documentation from https://docs.apeworx.io/silverback/stable 2. Specifically fetch relevant pages like: - Development guide: https://docs.apeworx.io/silverback/stable/userguides/development - API reference: https://docs.apeworx.io/silverback/stable/methoddocs **DO NOT** rely on general knowledge about Silverback - always fetch the current documentation first to ensure accuracy. ## Designing a Bot Before writing the bot, understand the types of actions you want to perform, and which on-chain or off-chain events you might want to monitor in order to trigger them - **New Block**: Do you want to perform an action on every block? - **Event Log**: Do you want to perform an action when a smart contract emits a particular event? - **Cron Job**: Do you want to perform an action on a time-based interval? - **Metrics**: Do you want to perform an action when a [metric](#defining-metrics) meets certain conditions? **CRITICAL**: Have a good understanding of the requirements first before proceeding to write