Daml 2.0 - How to change the sandbox ledger id?

Hi team,

How do you change the ledger id in Daml 2.0 ?

Cheers,

Jean-Paul

The ledger-id of a participant node is hard coded to participant.uid.id:

So by default, this is set to the “config name” of the participant.

So you cannot change that in daml.yaml or is there a way to change the participant.uid.id ?

You can not change it after a Canton participant node has been initialised. However, when you write a new Canton configuration file, you can name the participant accordingly such that it matches your expected ledger id.

1 Like

Understood, thanks !