Files
zeekay 6de27ba73b feat: nchain — composable blockchain node infrastructure operator
7 CRDs (nchain.hanzo.ai/v1alpha1):
  - NodeCluster: protocol-agnostic blockchain node cluster
  - Chain: blockchain/subnet/L2 definition
  - Indexer: blockchain data indexer
  - Explorer: block explorer UI+API
  - Bridge: cross-chain bridge
  - Gateway: RPC/API gateway with routing + rate limiting
  - Network: top-level composer (creates all child CRDs)

Protocol driver architecture:
  - LuxDriver: full luxd flag generation, snow consensus, staking keys,
    snapshot restore, chain tracking, startup scripting (487 lines)
  - EthereumDriver: reth command generation, standard EVM ports
  - GenericDriver: passthrough for any containerized node

Key design principles:
  - Composable: each CRD stands alone or composes via Network
  - Orthogonal: validators, indexers, explorers, bridges, gateways
    are independent concerns with independent CRDs
  - Complete: covers the full lifecycle from bootstrap to production
  - Protocol-agnostic: driver pattern isolates blockchain-specific logic
  - Do everything exactly once: one way to manage any blockchain

Replaces both HanzoNetwork (hanzo-operator) and LuxNetwork (lux-operator)
with a unified, deeper, protocol-agnostic alternative.

6,215 lines Go | go build + go vet clean
2026-03-03 06:43:22 -08:00
..