Can you please guide me, how to build .DAR file of the DAML Contract attached below.
I have taken this example from the daml document link: What is Formal Verification and what it means for Daml
Can you please guide me, how to build .DAR file of the DAML Contract attached below.
I have taken this example from the daml document link: What is Formal Verification and what it means for Daml
You can place the source in the skeleton app:
daml new verification
daml/Main.daml
with the template from the blogpost.daml build
.The verification tool is still in experimental state and not released, so to build it you have to check out the Daml repository and build it. Follow the instructions for the necessary steps.
Once you’ve done that, you can run the verification tool (which automatically calls the SMT solver for you) as follows:
bazel run //compiler/daml-lf-verify -- ~/verifcation/.daml/dist/verification-0.0.1.dar -c Main:Account.Account_Transfer -f Main:Account.amount
Adjust the path to your DAR and the template & field name to your own setup.
Thanks, I sorted it. I must appreciate your quick and detailed response. It made my learning quick and easy for DAML