I want to use the new 2.0 metering API to get reports on ledger usage. To do this, I need my participants to have an admin user, and the no-fuss way to do it would be to just add it in the bootstrap script. I’ve pulled down the canton docker demo:
docker run --rm -it digitalasset/canton-community:latest --config examples/01-simple-topology/simple-topology.conf --bootstrap examples/01-simple-topology/simple-ping.canton
and hitting tab on participant1
from within the ammonite repl doesn’t yield anything obviously helpful:
adHocPrettyInstance commitments discard is_initialized paramIfDefined prettyNode productElementName resources testing underlying
adminParty config domains is_running paramIfNonEmpty prettyOfClass productElementNames runningNode toLengthLimitedString unnamedParam
adminToken consoleEnvironment filterString keys paramIfTrue prettyOfObject productIterator self toLf unnamedParamIfDefined
canEqual copy health ledger_api paramWithoutValue prettyOfParam productPrefix show toProtoPrimitive unnamedParamIfNonEmpty
certs customParam help name parties prettyOfString pruning showType transfer
clear_cache dars id packages pretty productArity repair start typeClassInstance
code db identity param prettyInfix productElement replication stop uid