Upload DARs
How to upload and deploy DAR files in CatalyX Blockchain Manager.
Overview
DAR (DAML Archive) files contain compiled DAML application packages. They must be uploaded to a participant before any DAML templates or ledger workflows from that package can be used.
DAR files are required to:
deploy DAML applications
enable ledger workflows
install application templates on participants
support CPM, billing, Tradecraft, and other Canton applications
DAR files use the .dar extension. Examples: cpm-<version>.dar, ieu-billing-<version>.dar, canton-swap-<version>.dar.
Upload Flow Overview
Uploading a DAR in CatalyX is typically a two-step process:
Step 1
Upload the DAR to Collections
Step 2
Deploy the DAR from Collections to a Participant
Storing DARs in Collections first allows packages to be reused across multiple participants and environments without re-uploading the source file each time.
You can also upload a DAR directly to a participant without going through Collections. See Part 2 below.
Part 1 — Upload DAR to Collections
Collections are reusable artifact repositories inside CatalyX. They support both DAR packages and UI packages. Once uploaded, a DAR in Collections can be deployed to any participant or referenced by applications.
For a full overview of Collections, see the Collections page.
Navigate to Collections
Open CatalyX Blockchain Manager and navigate to Collections from the left navigation menu. The page contains two sections: DAR Collections and UI Collections.
Open the Upload Dialog
In the DAR Collections section, click Upload DAR File.
Select the DAR File
Choose the .dar file from your local machine (e.g. cpm-0.2.1.dar, ieu-billing-1.0.0.dar).
Confirm the Upload
After upload, the DAR appears in the DAR Collections table with the following details:
Package name
File size
Available actions: Deploy, Download, Remove
The package is now available for deployment to any participant.
Part 2 — Upload DAR to a Participant
Navigate to the Participant
Open Participants from the left navigation and select the target participant.
Open the DARs Tab
Inside the participant details page, open the DARs tab and click Upload DAR.
Select DAR Files
Choose one or multiple .dar files. Multi-file upload is supported.
After upload:
The package appears in the participant DARs list
The package hash becomes visible
DAML templates from the package become available on the ledger
UI Package Uploads
UI packages provide frontend applications exposed through HTTPS. They are uploaded to Collections → UI Collections separately from DAR files.
UI packages must:
be uploaded as
.zipfilescontain a single root directory
include an
index.htmlat the root
Navigate to UI Collections
Go to Collections → UI Collections.
Upload the UI File
Click Upload UI File and select the .zip package.
After upload, the package appears in UI Collections and becomes available for deployment.
For a full overview of UI Collections and how to deploy UI packages as applications, see the Collections page.
Application-Specific DAR Deployments
CPM
Download cpm-${version}.dar
Upload the DAR to the target participant
Verify the DAR is visible in the participant DAR list
Billing Subscriber
Download ieu-billing-${version}.dar
Upload the DAR to the target participant
Confirm deployment completed successfully
Tradecraft (CantonSwap)
Download canton-swap-${version}.dar
Upload the DAR to the participant
Verify the package is visible in the DAR list
Verification Checklist
DAR visible in Collections
Package appears in DAR Collections table
DAR uploaded to participant
Package visible under Participant DARs
Package hash generated
Hash visible in DAR list
Application templates available
DAML workflows accessible on the ledger
No upload errors
Upload completed without errors
Troubleshooting
DAR upload fails
Invalid file format
Verify the file uses the .dar extension
DAR not visible on participant
Upload incomplete or failed
Re-upload the package
Templates unavailable after upload
Package uploaded to Collections but not deployed to participant
Upload the DAR to the participant (Part 2)
UI deployment fails
Invalid ZIP structure
Ensure the ZIP contains a single root folder with index.html
Upload button disabled
Insufficient permissions
Verify your user has the required access rights
Best Practices
Store reusable DARs in Collections so they can be deployed to multiple participants without re-uploading
Use versioned naming conventions (e.g.
cpm-0.2.1.dar) to distinguish package versionsKeep older package versions in Collections for rollback purposes
Verify package hashes after deployment
Upload all required DARs before deploying dependent applications
Keep production and development packages separate
Last updated
Was this helpful?