Custom Ethereum Indexer
A real-time Ethereum ingestion engine built to stay correct through chain reorganizations and large backfills.
TypeScript
Node.js
PostgreSQL
Ethers.js
Overview
A real-time Ethereum ingestion engine built to keep indexed data consistent through chain reorganizations, large backfills, and high-volume writes.
The indexer includes an Indexer Management Utility for operational maintenance, while PostgreSQL handles storage, partitioning, and fast lookups.
What I built
- Handled chain reorganizations with atomic database rollbacks and an Indexer Management Utility for backfills and maintenance.
- Moved bulk ingestion from naive inserts to ~1 MB chunked COPY staging, improving throughput ~108× on a 100k-row benchmark.
- Optimized high-throughput storage with block-number range partitioning and BRIN/B-tree indexes.
- Enforced data integrity with runtime Zod schema validation before persistence.