What are the allowed characters and max length for DAML Party literals/names?

You can find this kind of information in the DAML-LF specification. For party names, the relevant part is

PartyIdString  ∈  [a-zA-Z0-9:-_ ]{1,255}

So the length is between 1 and 255 and apart from digits, upper and lowercase ascii letters you can use :, -, _ and spaces.

5 Likes