The Canton Console is an interactive Scala REPL that connects to Canton nodes for administration, debugging, and automation. It provides direct access to participant, sequencer, and mediator operations through a typed API. For full operational documentation, see the Global Synchronizer section, which covers node setup and management in detail. This page provides a brief orientation to the Console as a development and operations tool.Documentation Index
Fetch the complete documentation index at: https://cantonfoundation-issue-365-details-history.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Console is bundled with the Canton distribution. When you start a Canton process, the Console is available as an interactive shell. You can also connect a remote Console to a running node.For operational guidance — node setup, party management, topology administration, debugging workflows — see the Canton Console group under Global Synchronizer. This page focuses on the Console as a CLI development tool.
- Party management — Create parties, list hosted parties, manage party-to-participant mappings
- Package management — Upload DAR files, inspect deployed packages, check package dependencies
- Synchronizer connections — Connect participants to synchronizers, list connections, manage reconnection
- Topology management — View and modify the topology state (key rotations, namespace delegations, party allocations)
- Health monitoring — Check node status, view active connections, inspect processing queues
- Debugging — Inspect transaction trees, check conflict states, trace command processing
Quick Examples
Node References
The Console organizes operations by node type. Each node type exposes a different set of commands: Validator (participant) — The most commonly used reference. The console object is namedparticipant. Handles party management, package uploads, ledger operations, and synchronizer connections.
Running the Console
Embedded Console
When you start Canton with a configuration file, the Console starts automatically:participant, sequencer, mediator) are pre-bound based on your configuration.
Remote Console
You can connect a Console to a node running elsewhere:Scripting
The Console supports loading Scala scripts for repeatable operations:- Automated party setup for test environments
- Topology configuration for multi-node deployments
- Health check routines that run periodically
- Data export scripts for auditing
Tab Completion
The Console provides tab completion for discovering available commands. Type a node reference followed by a period, then press Tab:Related Pages
- Global Synchronizer introduction — Operational context for Console use
- Validator roles — Understanding the nodes you manage through the Console