Workflows by Environment (Local · Multi-Org · DevNet · CI · Production)
Practical patterns tailored to single-node local development, cross-organization participants, Splice DevNet, automated CI pipelines, and production read/response workflows.
Scenario 1. Single-Participant Local Development (Fastest Loop)
When the issuer (Admin), sender (Alice), and receiver (Bob) are hosted on the same local participant, one connection can authorize all three parties. Pass --auto-accept to complete both halves of a transfer in a single command.
Scenario 2. Multi-Participant & Cross-Organization Execution
In a multi-institution deployment, Bank A's participant (participant1) hosts Alice while Broker B's participant (participant2) hosts Bob. Because a Canton participant can only submit actAs commands for parties it hosts, the sender initiates on participant1 and the receiver accepts on participant2.
Scenario 3. Amulet (Canton Coin) on Splice LocalNet & DevNet
Funding or transferring Amulet requires DSO-governed contracts (AmuletRules and the active OpenMiningRound). Supplying --scan-url lets the CLI fetch those contracts and transfer-factory contexts from Scan (/v0/dso and /registry/*) and attach them as disclosedContracts.
Scenario 4. Automated Payment Regression Tests in CI
Every subcommand supports structured --format json output and non-zero exit codes on failure. Pair a named --dev-auth instance with a shell EXIT trap so failed assertions still clean up child processes and state directories.
Scenario 5. TestNet & MainNet Operational Boundaries
Scenario 6. One-Command Local Registry Presets (preset) & Transfer Preapprovals (preapproval)
Added in v0.9.0, token preset idempotently bootstraps CIP-0056/CIP-0112 local test parties (default alice,bob,carol), instruments, and preapproval setups in one command (supported profiles: amulet-preapproval, da-registry-local, oz-cip112). Use token preapproval to create, look up, or cancel receiver incoming transfer preapprovals (--receiver).
Switch language (KO) · LLMs.txt · oltenrs Home