What problem does it solve?
Writing a valid HyperIndex config.yaml requires knowing the exact schema for chains, contracts, event signatures, start blocks, and environment variables, and mistakes like using deprecated options or wrong address formats silently break indexing.
Core Features & Use Cases
- Chain and Contract Structure: Defines chains with IDs, start blocks, and contract entries supporting single addresses, multiple addresses, or wildcard indexing.
- Event Selection and Naming: Selects events by full signature and disambiguates overloaded event names with custom aliases like TransferERC20 and TransferERC721.
- Environment Variables and Validation: Interpolates ENVIO_-prefixed variables with defaults and nesting, plus YAML schema validation via a language-server directive.
- Use Case: When setting up a multichain indexer for an ERC-20 token deployed at different addresses on Ethereum and Polygon, use this Skill to write the config.yaml with per-chain start blocks, multiple contract addresses, and an RPC URL pulled from an environment variable.
Quick Start
Write a HyperIndex config.yaml for my ERC-20 token contract at address 0x1234 on Ethereum mainnet starting from block 18000000 indexing Transfer events.