Skip to main content

Parties and Users

List Parties​

dpm canton-deploy parties --network localnet

Only show parties hosted on this participant:

dpm canton-deploy parties --network localnet --local

Allocate a Party​

dpm canton-deploy allocate-party Alice --network localnet

Configuration parties are display names. The name is used as the party ID hint exactly as written, so Alice becomes a party ID such as Alice::1220.... An existing party with that hint is reused.

warning

If a party is configured in parties, deploy allocates it before running an optional --script. Do not also allocate the same name in the script with allocatePartyByHint. Instead, look the party up in the script, or remove it from parties.

Party Flags​

FlagMeaning
--localOnly parties hosted on this participant
--filter-party <prefix>Prefix filter
--party <ids>Comma-separated party IDs to look up
--limit <n> / --page-tokenPagination

Users​

List participant users:

dpm canton-deploy users --network localnet

Create a configured user:

dpm canton-deploy create-user --network localnet --user-id ledger-api-user

The --user-id value must match a users[] entry on the selected network.

Users can be granted:

  • CanActAs
  • CanReadAs