LEARN · DOCUMENTATION
Documentation
Pages from 35 sources, kept in sync: the official Canton Network and Digital Asset docs, documentation from teams building on Canton, and readmes from their code. Search all of it, or start from a path below.
3,556pages
synced 3h ago35 sources
22 more sources87 pages
CCView18CatalyX Package Manager11Metra APIs115N Lighthouse9docs.dappbooster.cc6Canton Dev Fund5npm packages5chainsafe.github.io4Canton 1012Canton Developer Hub2cc.itrocket.space2ftptech.xyz2bitdynamics-ab.github.io1Canton Developer Certification1canton-dar-inspector.vercel.app1CatalyX Tokenization1dappbooster.cc1docs.openzeppelin.com1nodejumper-org.github.io1Seaport1sigilry.org1Tenzro docs1
Showingdocs.walnut.dev
Ecosystem
Commands | Walnut docs
Commands Each subcommand has one entry below, and the full dpm trace --help and dpm trace test --help output is at the end of this section. trace Inspect a successful transaction by update ID, or a failed submission through its completion data. dpm trace <update-id> --submitter <url> --rea
Ecosystem
Compare transactions | Walnut docs
Compare transactions dpm trace compare shows why two things differ, whether they are two committed updates, a prepared command and an update, or a prepared command and a failed completion. Each comparison below uses the update IDs and files from the commands in this block, so run them first: #
Ecosystem
Configuration | Walnut docs
On this page Configuration Set the connection options once in a config file or in environment variables, instead of passing them on every command. Config file dpm trace reads a .dpm-trace.json file: { "ledgerUrl": "https://participant.example.com", "readAs": "<party-id>", "tokenFile": "
Ecosystem
Connect to a remote participant | Walnut docs
On this page Connect to a remote participant Use this guide to trace updates on a participant that requires a token, for example a validator you do not run yourself. You do not need the example ledger to be running. Get a token A participant that requires a token checks it on every request to its JS
Ecosystem
DPM Trace | Walnut docs
DPM Trace dpm trace shows what a Canton transaction did as a tree of events: which contracts were created or archived, which choices were exercised, by whom, and with which arguments. It reads a transaction from one participant, as one party, and shows only what that party can see. Each party has
Ecosystem
Find a command by its ID | Walnut docs
On this page Find a command by its ID dpm trace submit generates a command ID for you, but you can set your own with --command-id. --command-id asks the participant's completions, so it finds commands that were accepted and commands rejected after sequencing. A command rejected before sequenci
Ecosystem
How-to guides | Walnut docs
How-to guides Each guide lists what it needs. Unless it says otherwise, it needs the example ledger from the Quickstart running and LEDGER, ISSUER, ALICE, and BOB set. 📄️ Connect to a remote participant Get a token and trace updates on a participant that requires one 📄️ Trace a failed subm
Ecosystem
Install | Walnut docs
On this page Install You can install dpm trace in three ways: • Install script : downloads the latest release and registers it with DPM . Use this for projects that set sdk-version in daml.yaml. • Release archive or source build : the same binary, installed and registered by hand. • DPM componen
Ecosystem
Preview a command | Walnut docs
Preview a command dpm trace prepare shows what a command would do by asking the participant to work out the whole transaction it would produce without committing it, so nothing is written to the ledger. dpm trace prepare \ --submitter "$LEDGER" \ --act-as "$ISSUER" \ --template '#asset:Asset:A
Ecosystem
Quickstart | Walnut docs
On this page Quickstart This quickstart takes you from a running ledger to a traced transaction: set up the example ledger, submit a command, trace it, and read it as another party. Before you start: • dpm trace is registered, as described in Register with DPM . • You have the examples/ director
Ecosystem
Reading trace output | Walnut docs
Reading trace output dpm trace prints a header and a tree, and dpm trace open prints a third part before them. • Trace artifact : describes the file you exported (schema, update, kind, source, read-as, events). This is printed only by open. • Canton trace : the transaction header.
Ecosystem
Reference | Walnut docs
Reference 📄️ Commands Every dpm trace command and flag 📄️ Reading trace output Fields of the dpm trace header and event tree 📄️ Visualizer commands Commands available after --visualize 📄️ Configuration Config file and environment variables for dpm trace
Ecosystem
Run tests in CI | Walnut docs
Run tests in CI dpm trace test runs your Daml Script tests, prints each test's transaction tree, points every failure to the Daml line that caused it, and exits with a non-zero code when a test fails, so the CI job fails too. It needs Daml Script tests and DPM installed. It does not need the examp
Ecosystem
Save and reopen a trace | Walnut docs
Save and reopen a trace --export <file> saves what you are looking at, so you can open it later without a ledger. It works on dpm trace <update-id> (a trace artifact), dpm trace prepare (a prepared artifact), and dpm trace submit (the raw rejection, as a completion file). To try it, first su
Ecosystem
Trace a failed submission | Walnut docs
Trace a failed submission To get a rejection, create an Asset with quantity 0. The template requires a positive quantity, so the participant rejects it before sequencing: dpm trace submit \ --submitter "$LEDGER" \ --act-as "$ISSUER" \ --template '#asset:Asset:Asset' \ --arg issuer="$ISSUER"
Ecosystem
Visualize a transaction | Walnut docs
On this page Visualize a transaction --visualize opens an interactive session over a trace in your terminal, and it works on both dpm trace and dpm trace open. First, create a SILVER asset with quantity 50. The command prints its update ID: dpm trace submit --submitter "$LEDGER" --act-as
Ecosystem
Visualizer commands | Walnut docs
Visualizer commands Commands available after --visualize. Type help in the session for the full form. Command | What it does | n, p | Go to the next or previous event. | j <n> | Jump to step n. | tree [depth] | Show the whole transaction. => marks the current event. | collapse [id|a
Showing 17 of 17Search all sources →