# Do you have any other examples for DAML Scripts

**URL:** <https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363>\
**Category:** App Development\
**Tags:** script\
**Created:** [May 6, 2020, 2:17pm UTC](https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363 "2020-05-06T14:17:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartcant](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bartcant/32/823_2.png) [@bartcant](https://forum.canton.network/u/bartcant)\
**Post date:** [May 6, 2020, 2:17pm UTC](https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363/1 "2020-05-06T14:17:07Z")

</div>

I have been looking into Scripts for Ledger Initialization

Do you have any other examples you can share besides the example in  
[https://docs.daml.com/daml-script/index.html#](https://docs.daml.com/daml-script/index.html#)

Thanks

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [May 6, 2020, 2:29pm UTC](https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363/2 "2020-05-06T14:29:03Z")

</div>

Not an official source, but I have written a couple of short scripts to run a couple of tests [[1]](https://github.com/stefanobaghino-da/test-5541-data-migration/blob/194c963859e9d348678174d686facca56e1d48ad/daml/Test.daml) [[2]](https://github.com/stefanobaghino-da/test-5680-data-migration/blob/fc6d067007e3b786bd29597913c3376abfb7278b/daml/Test.daml).

Is there something in particular you’d like to see in an example?

---

<div class="post-metadata">

**Author:** ![shaynefletcher](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/shaynefletcher/32/567_2.png) [@shaynefletcher](https://forum.canton.network/u/shaynefletcher)\
**Post date:** [May 6, 2020, 2:36pm UTC](https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363/3 "2020-05-06T14:36:42Z")

</div>

You’ll also find some useful daml script in the DAVL project [GitHub - digital-asset/davl: Digital Asset Vacation Ledger](https://github.com/digital-asset/davl)

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 6, 2020, 2:43pm UTC](https://forum.canton.network/t/do-you-have-any-other-examples-for-daml-scripts/363/4 "2020-05-06T14:43:43Z")

</div>

You can also find DAML Scripts in most of our reference applications, just listing a few examples here:

1. [ex-know-your-customer/AutoVerificationTestSetup.daml at 5c89761d14a657b33630d55eaa518d6fd7531add · digital-asset/ex-know-your-customer · GitHub](https://github.com/digital-asset/ex-know-your-customer/blob/5c89761d14a657b33630d55eaa518d6fd7531add/src/main/daml/Test/DA/RefApps/KnowYourCustomer/Triggers/AutoVerificationTestSetup.daml#L15)
2. [ex-structured-products/MarketSetup.daml at a37a11319028e1cd0b828072937756af49be6f23 · digital-asset/ex-structured-products · GitHub](https://github.com/digital-asset/ex-structured-products/blob/a37a11319028e1cd0b828072937756af49be6f23/src/main/daml/DA/RefApps/StructuredProducts/MarketSetup.daml#L105)
3. [ex-supply-chain/LedgerSetupScript.daml at 6473a135a402e417748ff0e9879fc59ad4f96c29 · digital-asset/ex-supply-chain · GitHub](https://github.com/digital-asset/ex-supply-chain/blob/6473a135a402e417748ff0e9879fc59ad4f96c29/src/main/daml/DA/RefApps/SupplyChain/LedgerSetupScript.daml#L28)
4. [ex-asset-servicing/Init.daml at 7c13785dc82fe4a4e19fb74f4925c239b552b048 · digital-asset/ex-asset-servicing · GitHub](https://github.com/digital-asset/ex-asset-servicing/blob/7c13785dc82fe4a4e19fb74f4925c239b552b048/daml/Init.daml#L45)
