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​
| Command | What it does |
|---|---|
deploy | Build, upload DARs, optionally vet, onboard parties/users, and optionally run a script |
vet | Vet the same DAR set deploy would upload |
vet-dar <mainPackageId> | Vet one DAR by main package ID |
dars | List uploaded DARs through the Admin API |
packages | List known packages through the Ledger API |
status | Check Admin, Ledger, and JSON API connectivity |
parties | List known parties |
allocate-party <name> | Allocate a party by display name if it does not already exist |
users | List participant users |
create-user --user-id | Create a user from users[] and grant rights |
run <Module:fn> | Run a Daml Script |
contracts | List active contracts through the JSON API |
token | Show or decode the resolved JWT |
init | Write 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