Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Unable to get parties idForum ↗

Unable to get parties id

App Development4 posts165 viewsLast activity Jun 2022
RO
RotooOP
Jun 2022

Hello Damlers,

I’m trying to start a project and output the parties ids in order to create contracts. I used the below command to start the project, but i don’t get any output file.

daml start --script-option --output-file=parties.json

daml.yaml (376 Bytes)

CO
cocreature
Jun 2022

It looks like you did not specify an init-script in your daml.yaml so no script is being run.

RO
Rotoo
Jun 2022

Thank you @cocreature
Is there a way to do the same thing for the parties that i listed in my daml.yaml file instead of the script.

CO
cocreature
Jun 2022

No, I recommend to stop using the parties field and only use init scripts instead.

← Back to Discussions