Skip to main content

Commands

Shared flags include:

--network
--host
--admin-port
--ledger-port
--http-port
--grpc-authority
--http-host
--token
--log-file

Exit code 0 indicates success. --log-file appends output for CI.

Command Reference​

CommandWhat it does
deployBuild, upload DARs, optionally vet, onboard parties/users, and optionally run a script
vetVet the same DAR set deploy would upload
vet-dar <mainPackageId>Vet one DAR by main package ID
darsList uploaded DARs through the Admin API
packagesList known packages through the Ledger API
statusCheck Admin, Ledger, and JSON API connectivity
partiesList known parties
allocate-party <name>Allocate a party by display name if it does not already exist
usersList participant users
create-user --user-idCreate a user from users[] and grant rights
run <Module:fn>Run a Daml Script
contractsList active contracts through the JSON API
tokenShow or decode the resolved JWT
initWrite canton-deploy.config.js

Token Commands​

dpm canton-deploy token --network localnet
dpm canton-deploy token --decode --network localnet
dpm canton-deploy token --show --network devnet