Asset Modeling in DAML (Tutorial-7 Deep Dive Part 1)



Creation of Asset: Asset Contract and Asset Holder Contract

Asset Contract

Asset template (Asset.daml)

Asset Holder Contracts

AssetHolder template (Asset/Role.daml)
AssetHolderInvite template (Asset/Role.daml)

Asset Contract Creation

Issuer creates Asset contract through exercising in AssetHolder contract.
Choice Issue_Asset in AssetHolder template (Asset/Role.daml)

Fungibility of Asset



Choice Split in Asset template (Asset.daml)


Choice Merge in Asset template (Asset.daml)

Asset Transfer

Proposal Stage

Choice ProposeTransfer in Asset template (Asset.daml)
TransferProposal template (Asset.daml)

Acceptance Stage

Choice Accept_Transfer in AssetHolder contract (Asset/Role.daml)
TransferProposal template (Asset.daml)

Test Script


Visit for all my works. Reach me on or follow me @kctheservant in Twitter.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store