How to supply hint when allocating party via daml ledger command?

When allocating parties via daml ledger comamnd, is it possible to supply the party_id_hint?

2 Likes

Hi @daniel, daml ledger allocate-party foobar will send a request with both display_name and party_id_hint set to foobar. At the moment it is not possible to set different display names and party id hints. Does that work for you? If required, we could definitely make this more flexible!

Another option would be to allocate the party using the allocatePartyWithHint function from DAML Script. That lets you set both the display name and the party id hint.

2 Likes

@cocreature No problem.
Was just looking for a shortcut (instead of going through grpc API) to play with party mgmt.
seems DAML Script might also be a good option to interact with the ledger. good stuff.

Thank you

2 Likes