After practicing a while on the examples provided in the code, I’m planning to use my own daml code and run it in my own canton network setup.
According to the examples, I need to upload (participant1.upload.dars) for the DAR file, and when we start working on the test with REPL, we also import some model-related class (such as Iou, Paint, etc) for command construction.
Supposed that I have my own daml code and my objective is to put it into my Canton setup. What is the right way to do so? My first thought is,
- code in Studio and unit test my model
- compile to DAR
- codegen to Scala (or Java?)
- upload item (2) and pass item (3) through REPL for testing / demonstration.
While I’m still trying how to do so, any suggestions / hints are most welcome.
Thanks a lot.