What problem does it solve?
Blockchain indexers often sync slowly due to RPC bottlenecks, poorly sized event batches, or missing database indexes. This Skill provides concrete configuration guidance for optimizing HyperIndex sync speed and realtime indexing latency.
Core Features & Use Cases
- HyperSync Data Source: Explains the default HyperSync engine, which delivers up to 1000x faster data access than RPC on supported networks with no configuration required.
- Batch Size Tuning: Shows how to adjust
full_batch_size (default 5000) when handlers make slow Effect API calls that cannot be batched.
- Realtime WebSocket Config: Demonstrates adding a
ws: endpoint with for: realtime for lower-latency new block detection via eth_subscribe("newHeads").
- Database Indexes: Points to
@index schema annotations for faster GraphQL queries, with cross-reference to the indexer-schema skill.
- Use Case: Your indexer lags behind the chain head during live syncing. Apply the WebSocket realtime configuration to receive new block notifications instantly instead of polling.
Quick Start
Ask the AI to optimize your HyperIndex config.yaml for faster sync speed and realtime block detection.