Skip to main content

Canton Deploy

Deploy Daml packages to a Canton validator directly from your Daml project: build, upload, vet, allocate parties, onboard users, run scripts, and inspect what is on the ledger.

canton-deploy is a DPM component. You invoke it as:

dpm canton-deploy

A typical workflow is:

dpm add component ghcr.io/lync-world/canton-deploy:0.1.1
dpm install package
dpm canton-deploy init
dpm canton-deploy deploy --network localnet

Requirements​

  • DPM 1.0.20 or later (bundles Daml SDK 3.5)
  • Node.js 18 or later
  • damlc and daml-script for your SDK version (installed with the SDK via DPM)
  • A running Canton participant with Admin, Ledger, and JSON APIs reachable from your machine. For LocalNet, add canton-open-source as a component to get dpm sandbox (see Getting Started).

Use the sections in the sidebar to learn how to install, configure, deploy, and troubleshoot Canton Deploy.