# Distribute and upload dependency DARs?

**URL:** <https://forum.canton.network/t/distribute-and-upload-dependency-dars/8641>\
**Category:** App Development\
**Tags:** canton\
**Created:** [May 15, 2026, 12:58am UTC](https://forum.canton.network/t/distribute-and-upload-dependency-dars/8641 "2026-05-15T00:58:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [May 15, 2026, 12:58am UTC](https://forum.canton.network/t/distribute-and-upload-dependency-dars/8641/1 "2026-05-15T00:58:53Z")

</div>

If I have this:

- two Daml projects, `app` and `lib`
- the `app` project depends on the `lib` project
- the `lib-1.0.0.dar` contains the `org.lib.v1` as the main package
- the `app-1.0.0.dar` contains the `org.app.v1` as the main package

My understanding is that the `app-1.0.0.dar` _also_ contains the `org.lib.v1` package.

My questions are:

1. _Must_ my app’s users upload _both_ DARs to their node? Or is uploading `app-1.0.0.dar` sufficient?
2. If not, _should_ I distribute _both_ DARs to my app’s users? Why?

---

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [May 15, 2026, 10:54am UTC](https://forum.canton.network/t/distribute-and-upload-dependency-dars/8641/2 "2026-05-15T10:54:47Z")

</div>

The DARs produced by the Daml SDK are “fat” in the sense that they are transitively closed. So your understanding is correct.

By default, uploading a package to a node vets all packages included so to your question 1, uploading `app-1.0.0.dar` is sufficient.

The main reason to distribute `lib-1.0.0.dar` independently is to use it in another app. Ie the distribution of `lib-1.0.0.dar` would be for developers of `app2` rather than those deploying `app` or `app2`.
