How to host a party into multiple participant nodes using daml script
Hi team,
Is there any way I can allocate a party into multiple participant nodes by using daml script?
currently, I am using ParticipantName at my script to specify which participant node does the party allocate to but it seems ParticipantName just able to pass in Text but not list. is there any way I can allocate party(e.g. public) to two participants nodes?
Example of Party allocation at script
public <- allocatePartyWithHintOn "Public" (PartyIdHint "Public") ( ParticipantName "pOperator")
I have read the below approach which is done on canton console but my script relying on the public party so ideally will be done in Script level.
For multiple node setups how do we assign a party to multiple nodes via the “–participant-config participants.json” flag in daml script. We will have a “Public” party that lives on every node. Could it also be clarified how “participant” maps back to a canton user for createUser & allocatePartyWithHintOn End goal is something like: Node 1 alice → Alice, Public Node 2 bob → Bob, Public
Thanks in advanced!
Cheers,
Dorrit
Hi Dorrit,
I am afraid if you want to allocate the same party on multiple participant nodes you won’t be able to do it from daml script, but you need to use the canton console for that.