LEARN · DOCUMENTATION
Documentation
Pages from 29 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,253pages
synced 3h ago29 sources
Ecosystem
Configuration | LYNC
…networks: { localnet: { host: 'localhost', adminPort: 5002, ledgerPort: 5001, httpPort: 7575, uploadVia: 'ledger', vetOnUpload: true, excludePackages: ['./tests', 'my-app-tests'], …
Ecosystem
Deploy your first Daml package in 5 minutes | LYNC
…l project to it with one command, and see the result on the ledger. Then we will point the same project at DevNet or TestNet by changing one flag. You will use the canton-deploy-qu…
Ecosystem
Commands | LYNC
…. Default is light and fast. | inspect --quick | Config and Ledger API reachability only. | inspect --full | Exhaustive package, party, DAR, and vetting counts. Can be slow. | bala…
Ecosystem
Configure | LYNC
…net', networks: { testnet: { host: 'validator.example.com', ledgerPort: 5001, token: process.env.MY_JWT_TOKEN, scanApiUrl: 'https://scan.sv.test.canton.global', }, mainnet: { host:…
Ecosystem
Remote Validators | LYNC
…validators deployed with Docker Compose put the participant APIs behind nginx on a single port and route by name. Point canton-deploy at that port and set the routing names: Key | …
Ecosystem
Getting Started | LYNC
… dpm install package, then start the sandbox: dpm sandbox --ledger-api-port 5001 --admin-api-port 5002 --json-api-port 7575 It takes about 30 seconds and prints Canton sandbox is r…
Ecosystem
Command JSON | LYNC
Command JSON estimate and simulate take a path to a Ledger API command payload. There is no required folder layout; pass the file path that fits your project. { "commands":…
Ecosystem
Commands | LYNC
…mands Shared flags include: --network --host --admin-port --ledger-port --http-port --grpc-authority --http-host --token --log-file Exit code 0 indicates success. --log-file append…
Ecosystem
Troubleshooting | LYNC
Troubleshooting Ledger is unreachable Check: host, ledgerPort, TLS settings, token expiry, and grpcAuthority when routing through nginx …
Ecosystem
Examples | LYNC
…ge. Start the sandbox in a separate terminal: dpm sandbox --ledger-api-port 5001 --admin-api-port 5002 --json-api-port 7575 Then, from the project root: dpm canton-deploy init dpm …
Ecosystem
Troubleshooting | LYNC
…s and run: dpm install package 5. Status Cannot Reach Admin API The Admin API is required only when uploadVia is admin, or for dars, vet, and vet-dar. For ledger upload it is optio…
Ecosystem
Gas Profiler - DPM Component | LYNC
…d by running the Daml interpreter without committing to the ledger. • Can the validator's traffic budget cover it? — balance verification against the validator's current traffic bu…
Ecosystem
Authentication | LYNC
…is page Authentication canton-deploy sends a JWT with every Ledger, Admin, and JSON API call. The token is resolved in this order: • --token • CANTON_DEPLOY_TOKEN • config token • …
Ecosystem
Deployment | LYNC
…ml Script. Deploy Flags Flag | Meaning | --upload-via admin|ledger | Override the upload path for this run | --dar | Extra DAR (repeatable) | --skip-build | Use existing .daml/dist…
Ecosystem
Warnings W001–W011 | LYNC
…en free remainder is lower than command cost. | W005 | Scan API unavailable. | scanApiUrl, network access, fallback rates. | W006 | STANDARD mode has no live free-tier state. | Inf…
Ecosystem
canton-deploy | LYNC
…ies, onboard users, run scripts, and inspect what is on the ledger. Built by LYNC · Supported by the Canton Foundation canton-deploy is a DPM component. You invoke it as: dpm canto…
Ecosystem
Contracts | LYNC
…e contracts command lists active contracts through the JSON API. List Contracts dpm canton-deploy contracts --network localnet Filter by Party dpm canton-deploy contracts --network…
Ecosystem
Parties and Users | LYNC
… dpm canton-deploy create-user --network localnet --user-id ledger-api-user The --user-id value must match a users[] entry on the selected network. Users can be granted: • CanActAs…
Showing 18 of 18Search all sources →