How to pass `init-script` option on the command line?

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