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 bundles.
Recommended Flow
The supported workflow is:
- Run
xian setup nodeto choose local setup or network join - Choose validator key mode and the
basicorindexedruntime preset - Let the wizard create or join the network, write the node profile, and materialize the local CometBFT home
- 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:
uv run xian setup node --mode local --network local-dev --name validator-1 \
--preset basic --key-mode generate --start --yes
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 canonical network with indexed services and monitoring defaults:
uv run xian setup node --mode join --network testnet --name validator-1 \
--preset indexed --key-mode existing \
--validator-key-ref ./keys/validator-1/validator_key_info.json \
--stack-dir ../xian-stack --start --yesMainnet preparation uses the draft xian-mainnet-1 manifest in xian-configs, but operators should pass the accepted operator bundle manifest with --network-manifest; product defaults should stay local.
When the joined network manifest pins published node images, xian node start pulls those immutable images by default through xian-stack. Use --node-image-mode local_build during setup when you need a dev override against the local workspace instead.
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
- Configuration: manifests, profiles, homes, and ports
- Config Taxonomy: templates, profiles, deploy bindings, bundles, products, solutions, and when to use each one
- Runtime Features: execution-engine policy, tracer modes, readonly simulation, parallel execution, and the current runtime keys
- Pruning & Retention: block-history pruning policy,
blocks_to_keepsizing, and recovery implications - Local DEX Bootstrap: opt-in local deployment of
con_pairs,con_dex, and a demo liquid pair for DEX UI and event testing - xian-dex-automation: optional deterministic DEX event automation sidecar for stack-managed nodes
- 5-Validator Localnet E2E: the canonical whole-stack local validation run across validators, BDS, governance, DEX, logging, shielded-note flows, VM-native validation, and
make release-safety - Protocol Governance & State Patches: the first-class forward patching model, local bundle directory, and emergency boundary
- Governance Web Console: validator-facing proposal, voting, vote audit, and state-patch hash verification UI
- Recovery Plans: the guided operator rollback / restore workflow when forward patching is not enough
- Node Profiles: the JSON contract used by
xian-cli - Starting, Stopping & Monitoring: operational commands, monitoring surfaces, and incident runbooks
- Snapshots & Reindex: application snapshots, BDS replay, BDS rebuilds, and snapshot import/export workflows
- Validators: validator-specific setup and expectations