Skip to content

Indexer Pipeline

The indexer is a Go service that processes Stellar ledger data into local data stores for advanced queries, search, and analytics.

Indexer Pipeline

StorePurpose
PostgreSQL + TimescaleDBStructured ledger, transaction, and operation data with time-series optimizations
RedisPub/sub for real-time event distribution
TypesenseFull-text search across transactions, accounts, and assets

Processes new ledgers as they close (~1 every 5 seconds). Connects to a Stellar RPC endpoint and streams new data continuously.

Terminal window
make run-live

Two strategies for importing historical data:

  • RPC Backfill — Fetches historical ledgers from an RPC endpoint. Works on any network.
  • S3 Data Lake Backfill — Reads from Stellar’s public S3 data lake. Pubnet only, significantly faster.
Terminal window
make backfill # RPC backfill
make s3backfill # S3 backfill (pubnet only)

The indexer follows a pipeline pattern: Source → Transform → Store → Publish.

For full configuration options and setup instructions, see the indexer README.