How inkonchain/node works
Ink Node is a Docker Compose stack for operating an Ink OP Stack node. The operator selects a network and node type, supplies L1 endpoints, then starts the stack; initialization restores an op-reth snapshot and prepares shared state before the execution client and rollup node run. A healthcheck compares node progress with a reference RPC, while Prometheus and Grafana expose monitoring. The graph follows README-documented relationships; source excerpts were unavailable, so implementation-level calls and undocumented links are omitted.
Main entry points: op-node.env op-node rollup · op-reth.env op-reth execution · docker-compose.yml Compose stack · init-bedrock.sh Bedrock init
Components 16
Node operation
- Compose stack
docker-compose.yml - Bedrock init
scripts/init-bedrock.sh - op-reth snapshot
- op-reth execution
envs/ink-mainnet/op-reth.env - op-node rollup
envs/ink-mainnet/op-node.env
Network configuration
- Network settings
envs/ink-mainnet - Sepolia settings
envs/ink-sepolia - Environment template
.env.example
Health and monitoring
- Healthcheck
envs/common/healthcheck.env - Prometheus
docker/prometheus/prometheus.yml - Grafana dashboard
docker/grafana/dashboards/simple_node_dashboard.json
Other components
- Node operator
- L1 execution RPC
- L1 beacon API
- Reference RPC
- Dashboard user
Connections 21
- Node operator → Environment template: configures
README.md - Node operator → Compose stack: starts
README.md - Compose stack → Bedrock init: runs once
README.md - Bedrock init → op-reth snapshot: restores
README.md - Compose stack → op-reth execution: starts
README.md - Compose stack → op-node rollup: starts
README.md - Bedrock init → op-reth execution: prepares shared state
README.md - Bedrock init → op-node rollup: prepares shared state
README.md - Network settings → op-node rollup: sets network defaults
README.md - Network settings → op-reth execution: sets network config
README.md - Sepolia settings → op-node rollup: sets network defaults
README.md - Sepolia settings → op-reth execution: sets network config
README.md - Node operator → L1 execution RPC: provides endpoint
README.md - Node operator → L1 beacon API: provides endpoint
README.md - op-node rollup → L1 execution RPC: derives from
README.md - op-node rollup → L1 beacon API: uses
README.md - Healthcheck → Reference RPC: compares against
README.md - Healthcheck → op-reth execution: checks height
README.md - Healthcheck → Prometheus: exposes metrics to
README.md - Prometheus → Grafana dashboard: supplies metrics to
README.md - Dashboard user → Grafana dashboard: views dashboard
README.md