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.

Built by LYNC ยท Supported by the Canton Foundation

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

dpm canton-deploy

A typical workflow is:

dpm add component oci://ghcr.io/lync-world/canton-deploy:0.2.2
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 the Ledger and JSON APIs reachable from your machine. The Admin API is optional: it is needed only for uploadVia: "admin" and the dars, vet, and vet-dar commands. 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.

Acknowledgementsโ€‹

canton-deploy is built and maintained by LYNC, with support from the Canton Foundation.

The source is on GitHub under the Apache 2.0 license.