`ledgerId` best practices
App Development2 posts267 views2 likesLast activity Jun 2023
LU
LucianoOP
Jun 2023I’m currently using the Java API to submit commands to the ledger, and there are many helper classes (under package com.daml.ledger.javaapi.data.*) that require a ledgerId parameter.
But I was under the impression that the ledger identity service had been deprecated with the advent of canton.
Setting these to null results in an exception also.
What is the recommended way of using the java bindings with regard to ledgerIds?
CO
cocreature
Jun 2023You can set it to an empty string.