lux cycle
Boot → deploy → stop → snapshot in one pipeline
lux cycle
Atomically boots the network's L1, deploys the standard contract suite, stops the node cleanly, and writes a tar.zst snapshot.
Pipeline:
- lux up <ref> (background within this process)
- wait healthy (networkID match + C-chain responding)
- lux deploy <ref> (forge against the local RPC)
- lux down <ref> (SIGTERM + wait drain)
- lux snap <ref> (tar.zst the data-dir)
Examples: lux cycle zoo/localnet lux cycle lux/devnet --skip-deploy # boot, stop, snap only lux cycle hanzo/testnet --skip-snap
Usage:
lux cycle <network>/<env> [flags]Flags:
--mnemonic string BIP44 mnemonic for the deployer (defaults to $LUX_MNEMONIC)
--node-path string path to luxd binary
--skip-deploy do not run contract deploy stage
--skip-snap do not run snapshot stage