Skip to content

dctl

Command Purpose
bootstrap Create wallets, certificates, ledger keys and trust.json
issue Create a wallet and certificate for another entity
submit Submit a task to the current leader
get KEY Read from the ledger
healthcheck Check HEALTH_URL

bootstrap

-out (required), -chain (dcompute-1), -validators (4), -controllers (4), -auditors (3), -scope (default).

issue

-state (required), -name (required), -type (controller), -scope (default).

submit

Flag Default
-input required. JSON
-action kv.put
-mode sync
-task generated
-scope default
-registry REGISTRY_URL

It repeats for a minute while there is no leader or the leader changes.

get

Key Content
entity/<did> Entity
cur/<scope> Current epoch identifier
epoch/<scope>-<n> Epoch
task/<id> Task
evidence/<id> Evidence

Commands that use the ledger need LEDGER_URLS and the trust file. submit also needs a wallet (WALLET_FILE, WALLET_PASSPHRASE).