deploy.sh lifecycle script described in Full Node Installation. This page covers what a deposit and withdrawal stack needs from that node: the right data mode, a verified script, EVM JSON-RPC, health checks, and governance upgrades.
Choose the node type
Download and verify deploy.sh
deploy.sh. The check must print deploy.sh: OK.
Full node
rpc enable turns it on and puts the EVM JSON-RPC and the CometBFT RPC on 127.0.0.1. --public puts them on 0.0.0.0 instead: put a firewall or reverse proxy in front.
Archive node for history and backfills
Restore a full-history snapshot (Linux only). The block below sets up a new host. To turn the full node above into an archive, skipinstall, which refuses while the node runs: snapshot restore keeps a running node running during the download, then swaps in the snapshot’s data/. On mainnet the default source is https://snapshots.c8ntinuum.com/mainnet/latest.json. sudo ./deploy.sh snapshot restore --dry-run shows the download size and the disk it needs. restore checks that the node’s ctmd is the snapshot’s ctmd_version, unless --force. The history below the snapshot’s height is taken on the publisher’s word. Run the restore inside tmux, so a lost SSH session does not end it:
full-sync runs only right after install, on a node home without chain data. A node with chain data, such as a state-synced full node, is refused (reset, then install, makes one without):
full-sync replays every block with the release that ran it, and switches releases at each chain upgrade by the upgrade map in metadata.json. It takes weeks on mainnet and needs peers that keep every block. It runs only on mainnet for now. On Linux, Ctrl-C or a lost session ends only the wait: run sudo ./deploy.sh full-sync again to follow it. On macOS they also end the switches, so keep full-sync running. Only a run that sees the node synced finishes the full sync; until then status shows Full sync: and upgrade refuses. --archive applies only when the sync begins. See Full Sync.
Both paths set pruning = "nothing", min-retain-blocks = 0, discard_abci_responses = false, and [tx_index] indexer = "kv". full-sync --archive does not turn on the EVM indexer. snapshot restore turns it on only when the snapshot’s EVM index covers the history. See Archive Data Setup for the rest of the archive profile, and Hardware Requirements for disk sizing.
To see the earliest block a node keeps, look at the Height line of sudo ./deploy.sh status (earliest N), or at .chain.earliest_height in status --json.
Monitor node health
sudo crontab -e) with the script’s absolute path, for example:
When several apply,
1 wins over 3, and 3 over 2. --json needs jq, and its .health is {code, state, reasons}. A whole-chain pause at an upgrade height also shows here: DOWN while the node is still armed or its RPC does not answer, then BEHIND once the switched node answers, until blocks resume (see Governance upgrades). Compare the node’s height with a public CometBFT /status to tell your node’s lag from a chain pause.
Governance upgrades
A chain upgrade takes effect at a height set by governance. The release that runs before it halts at that height, and the new release cannot run before it, so the switch must happen at the height. On Linux,deploy.sh arms the new release ahead of time, and a watcher switches the node at the halt.
Once the proposal has passed and the upgrade is in metadata.json’s upgrade map, sudo ./deploy.sh upgrade --dry-run without a version takes the map’s release: its plan’s To: line names the release, and its Chain: line the upgrade and its height.
Before the height, once c8ntinuum has published the release:
Chain: and Switch: armed, .... If it shows Restart:, it would switch the node now: do not run it until that is resolved. After arming, status shows Armed: ... (watcher on). Keep the node running, because a stopped node never reaches the height. On a node with a full sync in progress, upgrade refuses in every form, because the full sync switches releases by its own plan. If the node has caught up but status still shows Full sync:, run sudo ./deploy.sh full-sync once to finish it, then arm. See Full Sync.
At the height, the node halts. The watcher normally switches it within seconds: it stops the node, points it at the armed release, and starts it again. The node’s RPC does not answer while it restarts and the new release applies the upgrade. The chain then waits at the upgrade height until validators with more than 2/3 of the voting power run the new release. Deposit scanners see a pause, not a fork: blocks resume from that height. Once the switched node answers, status --check reports BEHIND (exit 2) until the height moves past the upgrade height. Before the switch, or while the RPC does not answer, it reports DOWN (exit 1).
After the height, run upgrade again and name the release:
At the network's latest block, height H, but the network has added no block for .... When no trusted RPC answers, it says Synced: as soon as the node stops catching up. Whichever line it ends with, check with sudo ./deploy.sh status that the height moves past H.
There is no going back past the height, and upgrade takes no copy of data/ before the switch. On macOS nothing can be armed: run ./deploy.sh upgrade <version> once the node has halted at the height. For the full procedure, see Upgrade Instructions.
For a release change without a chain upgrade, sudo ./deploy.sh upgrade switches the node and checks that the new release runs. If it does not, upgrade goes back by itself and exits 2. sudo ./deploy.sh upgrade --rollback returns to the previous release. See Upgrade Instructions.