What problem does it solve?
This Skill helps you work with the Secondlayer platform for Stacks by turning blockchain activity into usable queries, live feeds, and webhook-driven workflows instead of hand-rolling indexing and contract plumbing.
Core Features & Use Cases
- Decoded chain data: Query raw event streams, decoded index data, blocks, transactions, contract calls, and stacking actions.
- Subgraphs and subscriptions: Author TypeScript subgraphs, deploy them, query their tables, and trigger webhook deliveries from row changes or chain events.
- Stacks contract workflows: Read and call Clarity contracts, use the viem-style Stacks SDK, and work with BNS, PoX, sBTC, and StackingDAO extensions.
- Use case: Build a Stacks analytics dashboard that tracks token transfers, reacts to whale activity, and sends alerts when a contract emits a specific print event.
Quick Start
Ask the assistant to use the secondlayer skill to help you query Stacks events, scaffold a subgraph, or create a webhook subscription for a contract you care about.