HIP-418: Indexer CRD. Status Active. Hanzo's own standard — read this before implementing against it.
The Indexer CRD is a Service facade for luxfi/indexer, the chain-data indexer that builds queryable SQL tables from raw EVM blocks. Used in combination with Explorer (HIP-419) to power block-explorer UIs.
hanzo.ai/v1, plural indexers, shortname idx.
Same shape as Service (HIP-400). Conventionally:
image.repository: ghcr.io/luxfi/indexerRPC_URL, DATABASE_URL, CHAIN_IDSQL CRapiVersion: hanzo.ai/v1
kind: Indexer
metadata:
name: hanzo-indexer
namespace: hanzo
spec:
image:
repository: ghcr.io/luxfi/indexer
tag: v1.2.2
replicas: 1
env:
- name: RPC_URL
value: https://api.lux.network/mainnet/ext/bc/hanzo/rpc
- name: DATABASE_URL
valueFrom:
secretKeyRef: { name: indexer-db, key: url }
- name: CHAIN_ID
value: "36963"
Deployment, Service. Long-running indexer pod processes new blocks into SQL.
~/work/hanzo/operator/src/controllers/service.rs (via Indexer facade).
Implemented in hanzoai/operator v0.3.0+. Primarily deployed on lux-k8s.