Node Operations
This section documents the current operator path for running Xian nodes from the maintained repos:
xian-cliowns operator workflows such as key generation, network join, node initialization, start, stop, status, snapshot restore, and doctor checks.xian-deployowns the Linux-focused remote deployment path, including remote health checks, state-snapshot restore, and state-sync bootstrap playbooks.xian-stackowns the Docker images, Compose topology, backend lifecycle script, localnet, and optional dashboard/BDS services.xian-abciowns the deterministic node process, config rendering primitives, CometBFT-facing behavior, and application snapshot serving/loading.xian-configsowns canonical network bundles and contract presets.
Recommended Flow
The supported workflow today is:
- Inspect the available starter templates with
xian-cli - Generate validator key material with
xian-cliwhen needed - Create or join a network manifest/profile
- Materialize the local CometBFT home with
xian node init - Start and stop the runtime through
xian-stack - Use
xian node status,xian node endpoints,xian node health, monitoring, and the optional dashboard for inspection
For remote Linux hosts, keep the local xian-cli network/profile flow, then use xian-deploy for bootstrap, deployment, remote health, and recovery runbooks.
Typical commands:
bash
uv run xian network template list
uv run xian network create local-dev --chain-id xian-local-1 \
--template single-node-dev --generate-validator-key --init-node
uv run xian node status validator-1
uv run xian node endpoints validator-1
uv run xian node health validator-1
uv run xian node stop validator-1For joining an existing network with indexed services and monitoring defaults:
bash
uv run xian network join validator-1 --network mainnet \
--template embedded-backend \
--validator-key-ref ./keys/validator-1/validator_key_info.json \
--stack-dir ../xian-stack
uv run xian node init validator-1
uv run xian node start validator-1Without templates, the lower-level flow is still available:
- Generate validator key material with
xian-cli - Create or join a network manifest/profile manually
- Materialize the local CometBFT home with
xian node init - Start and stop the runtime through
xian-stack - Use
xian node status,xian node endpoints,xian node health, and the optional dashboard for inspection
Runtime Topologies
Xian currently supports two runtime topologies in xian-stack:
integrated: one container per node, withxian-abciandCometBFTsupervised together bys6-overlayfidelity: separatexian-abciandCometBFTcontainers, closer to an orchestrated production layout
The dashboard is optional in both cases and runs as its own service. BDS and GraphQL are optional indexed-read services on top of the node, not part of the deterministic validator path.
What This Section Covers
- Architecture: how the runtime pieces fit together
- System Requirements: host, Docker, and workspace needs
- Installation & Setup: supported setup path today
- Configuration: manifests, profiles, homes, and ports
- Node Profiles: the JSON contract used by
xian-cli - Starting, Stopping & Monitoring: the operational commands
- Snapshots & Reindex: application snapshots, BDS replay, reindex, and snapshot import/export workflows
- Validators: validator-specific setup and expectations