Collections
Last updated
Was this helpful?
In the My Collection tab, DAR packages and UI packages can be uploaded to the console. These can then be uploaded to participants or deployed as applications respectively.
When a Daml project is compiled, the compiler produces a Daml archive. These are platform-independent packages of compiled Daml code that can be uploaded to a Daml ledger or imported in other Daml projects. Daml archives have a .dar file ending.
DAR files can be uploaded from the user's local computer, or obtained from the Canton Package Manager (CPM).
To read about CPM interaction, see the Canton Package Manager section of this guide.
To upload a DAR file, go to the Collections tab and click Upload DAR File to open a side window.

The UI Collections feature of Catalyst allows you to provide a frontend for your app by publishing files exposed by HTTPS over a ledger-specific subdomain.
UI Collections must be uploaded to the console and deployed in the form of .zip files. The .zip should contain a single root directory, and the contents of that directory should contain an index.html along with the rest of the resources for your UI.
To upload a UI file, go to the Collections tab and click Upload UI File to open a side window.

Last updated
Was this helpful?
Was this helpful?