Executing script from Dar file that has uploaded to canton

I have written script for a contract .Dar file which having those contracts and scripts part. How can script can be called for a contract creation in Canton where we upload our Dar file and it should also read user script that different login user like Alice, bob

Hello,

Did you already work through the examples of using daml-script given in the documentation?

https://docs.daml.com/app-dev/bindings-java/quickstart.html#run-the-application-using-prototyping-tools

https://docs.daml.com/daml-script/