$ show inkonchain/node
This repository is a Docker Compose-based node operator stack for running an Ink L2 rollup node on the OP Stack. It wires together op-node (rollup/consensus client), op-geth (execution client), a one-shot bedrock-init container, Prometheus, and Grafana. The primary entry point is `docker compose up`, with per-network environment files under `envs/<network>/` and a `progress.sh` script for checking sync status. It does not yet ship an op-reth Compose path; op-geth is the current execution client.
The LLM identified 3 files worth highlighting for reuse:
Queries an op-node's RPC endpoints to compute how far the rollup node is behind the L1 safe head, with explicit handling for not-yet-synced nodes and clear error messages. Reusable for any OP-Stack node operator who wants a quick sync-progress check without a full metrics stack.
Fetches a network snapshot index, validates snapshot filename formats, downloads missing snapshots, and verifies SHA256 checksums before extraction. The logic is parameterized around an index URL and can be adapted to other OP-Stack snapshot restore workflows.
Provides idempotent archive extraction and SHA256 verification helpers used by the snapshot restore path. These functions are small, self-contained, and could be extracted into any shell-based operations or data pipeline that needs safe archive handling.