Is there a way to pass this argument to daml start
directly, instead of adding it to your daml.yaml
file? I’ve tried --sandbox-option
but that doesn’t wok.
I should add that I recall doing this with the pre-canton sandbox. The question here relates really to the canton sandbox.
I’m not aware of ways in which Canton can accept a Daml Script to be run when a participant starts (and I couldn’t find them after a brief search). The way this is done in the SDK assistant (code) is by reading the init-script
path and running it via daml script
separately, so probably the easiest way for you to do this is by running daml start ... && daml script ...
, which more or less replicates the behavior of the SDK assistant.
1 Like