Docs
Virtual environmentsHow to

How to manage virtual environment lifecycle

Learn how to stop, resume, rename, and delete development networks without confusing saved state with running processes

Available since: Acton 1.2

Stop a network to release runtime resources while preserving saved state.

Deleting a Studio environment removes its state and snapshots. Deleting a localnet also removes its managed Docker containers and volumes.

Stop the environment instead if its state must be retained — deletion has no undo.

Prerequisites

Stop or resume work

The Environment settings icon at the bottom of the sidebar opens identity, endpoints, and runtime settings.

  1. Open Virtual environments and stop the selected environment from its row actions.
  2. Restart it when needed. The same environment retains its identity.
  3. To rename it, open the sidebar settings, edit Name, and select Save.
  4. To remove it permanently, open the settings' Danger zone, select Delete environment, and confirm.

A stopped environment still exposes settings and snapshot controls.

Press Ctrl+C in the simulator terminal. Resume committed state with the same database:

acton simulator start --port 5411 --db-path .acton/simulator.sqlite

For state beyond committed blocks, use simulator checkpoints. The standalone simulator CLI has no named-network rename or delete command.

acton localnet list
acton localnet stop dev
acton localnet start dev --detach

Use the same --state-dir for commands managing a custom catalog. Resuming a named network preserves its blockchain state and does not replenish startup wallets.

To delete a network, run the interactive command and review its confirmation:

acton localnet delete dev

The CLI has no rename subcommand. A name belongs to its saved network definition.

Verify the result

  • A stopped network remains listed with its saved state.
  • A deleted network disappears from the catalog.
  • On restart, inspect the previous block and account state before continuing work.

Last updated on

On this page