Running CoordinatedShutdown with reason [ActorSystemTerminateReason]

I simply have a DAML templates, another DAML script file
I built the dar file, uploaded to sandbox using daml start
when i run my script, i get

PS C:\Users\Admin\Rohit_TakeHomeAssignment\loan-project-medium> daml script --dar .daml/dist/loan-project-0.0.1.dar --script-name Test:testLoan --ledger-host localhost --ledger-port 6865
Slf4jLogger started
Running CoordinatedShutdown with reason [ActorSystemTerminateReason]

I have already built dar file, ran daml sandbox using daml start and I see .dar file in .daml/dist folder

What does it mean?
How do i run my script?

I suspect your script ran successfully, since there were no error messages printed on the console. The output…

Slf4jLogger started
Running CoordinatedShutdown with reason [ActorSystemTerminateReason]

… is simply what the daml script currently writes to the console. Admittedly, that’s not real clear. But, it looks like your script ran fine.

To prove it to yourself, there are a few alternatives you could try:

  1. Add something like debugRaw "Script completed successfully." to the end of your script. That will appear on the console when running daml script. (Keep in mind… you may need to change the signature of the script; you will need to recompile; you will need to restart Sandbox and/or re-upload the DAR, etc.)
  2. Alternatively, write and then run a second script which queries for the result of the first script.
  3. Open a Canton Console and query for the result of the first script.
  4. Start the Sandbox with the --debug option and then inspect the log to see if the commands from your script were submitted.

Welcome to the Daml community!