midnight-indexer:indexer-architecture
OfficialDeploy and operate Midnight indexers
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a complete architecture and operational guide to index Midnight blockchain data, enabling teams to collect, store, and serve on-chain state and transactions for wallets and DApps.
Core Features & Use Cases
- Component Overview: Describes chain-indexer, wallet-indexer, indexer-api, spo-indexer, indexer-common, and the indexer-standalone binary.
- Deployment Modes: Explains standalone (SQLite) for local development and cloud (PostgreSQL + NATS) for production, plus scaling and failure-mode behavior.
- Operational Guidance: Covers node WebSocket connectivity, database choices, NATS messaging subjects and defaults, telemetry options, and required environment variables such as APP__INFRA__SECRET.
- Use Case: Run a local devnet indexer for quick contract iteration or deploy separate cloud services for high-availability production querying via GraphQL.
Quick Start
Start the indexer in standalone mode by setting APP__INFRA__NODE__URL to your node WebSocket, APP__INFRA__STORAGE__CNN_URL to a local SQLite path, ensure APP__INFRA__SECRET is set, and run the indexer-standalone binary.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: midnight-indexer:indexer-architecture Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#midnight-indexer-indexer-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.