What problem does it solve?
This skill automates the generation and maintenance of Ponder indexer code from contract ABIs and a schema, enabling deterministic event indexing for blockchain projects.
Core Features & Use Cases
- Automated handler generation: Generate type-safe event handlers and database schema mappings from ABIs.
- Incremental updates: Regenerate handlers when ABIs or schemas change, keeping indexers in sync.
- Use Case: When adding a new contract or updating existing contracts, use this skill to scaffold and update the indexer directory and tests.
Quick Start
Use the ponder-gen skill to generate indexer handlers from existing ABIs by following the steps described in the Skill body. Follow the Step 1-3 examples to add ABIs, configure ponder.config.ts, define the schema, and run the generator.