This section explains how some key concepts of Daml Finance work in practice. It combines a step by step description of different workflows with supporting code.
To follow the tutorials, you can install the
quickstart-finance project via the Daml assistant
by executing the following commands -
On Unix-based systems execute:
daml new quickstart-finance --template=quickstart-finance cd quickstart-finance ./get-dependencies.sh daml studio
On Windows-based systems execute:
daml new quickstart-finance --template=quickstart-finance cd quickstart-finance ./get-dependencies.bat daml studio
In addition to Daml Finance, there is also a separate
Daml Finance Reference App. It showcases
several of the Daml Finance capabilites in a web-based graphical user interface.
If you are interested in trying out the app locally, you can clone the corresponding repo and follow the installation instructions on the Daml Finance Reference App GitHub page.
Create your own App¶
daml codegen js -o ./output daml-finance-interface-swap-0.1.7.dar daml-finance-interface-instrument-bond-0.1.7.dar
Alternatively, if your app uses Java, you can run daml codegen java in a similar way:
daml codegen java -o ./output daml-finance-interface-swap-0.1.7.dar daml-finance-interface-instrument-bond-0.1.7.dar
Note, this Daml Finance codegen is only supported on SDK versions 2.5.x and higher.
The following tutorials are available: