canton-testing-deployment
Installation
SKILL.md
Canton Testing & Deployment
Overview
A Canton app moves sequentially through four environments. The core architecture is identical everywhere (your app → a participant's Ledger API); what changes is the surrounding infrastructure.
| Env | What it is |
|---|---|
| LocalNet | Everything on your machine via Docker Compose; you control all nodes; free. |
| DevNet | Shared dev network on the real Global Synchronizer; periodically reset, updates frequently, may break. |
| TestNet | Pre-production; mirrors MainNet config and upgrade cadence; final validation. |
| MainNet | Production; real CC, real traffic costs, real users. |
What changes between environments
| Category | LocalNet | Shared (DevNet/TestNet/MainNet) |
|---|---|---|
| Identity & auth | Pre-configured Keycloak, default users | Validator onboarding + valid JWT from your auth provider |
| Connectivity | localhost | Validator connects to Global-Synchronizer sequencers |
| CC & traffic | Simulated | Real CC to buy traffic (auto-top-up); Tap on DevNet |
| DAR deployment | Direct upload to local validators | Upload via participant; may need counterparty coordination |