Allocate a party safely
Problem. On a fresh Canton install the JSON Ledger API rejects submissions because no party has been allocated.
Solution. Call `/v1/parties/allocate` with a `partyIdHint` you control. Re-using the hint is idempotent; the participant returns the existing identifier.
curl -X POST $LEDGER/v1/parties/allocate \
-H "Authorization: Bearer $TOKEN" \
-d '{"identifierHint": "alice", "displayName": "Alice"}'