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 4h ago35 sources
23 more sources104 pages
CCView18docs.walnut.dev17CatalyX 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
ShowingGitHub code
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/ShardedTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/ShardedTest.daml -- Sharded journals. Test 1 is the whole point: it demonstrates the -- serialisation PREDGE named on forum 9114, and then demonstrates it gone. -- Everything after it checks that nothing was traded
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/TestAssets.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/TestAssets.daml -- Application-side assets used by the suites. Written the way an integrator -- would write them: the only unusual line is signatory owner, guardian. module TestAssets where import Guarded -- | A
Code
dominicrume/cantor8_kya_rails: step-1-mandate/CONTEXT.md
CONTEXT.md (Layer 2, stage 1: what do I do?) Job Define the spending mandate as a Daml contract so the cap and the allow-list are enforced by the ledger, not by application code. A cap checked in Python is a suggestion; a cap in a choice body is a rule. Inputs | File | Why | | --- | --- | |
Code
dominicrume/cantor8_kya_rails: step-1-mandate/daml/KyaAnchor.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/daml/KyaAnchor.daml -- | Bind a receipt chain to where it came from. -- -- SPEC.md section 8 says the chain "is not signed. It proves internal -- consistency, not origin. Anyone can produce a valid chain saying anything." --
Code
dominicrume/cantor8_kya_rails: step-1-mandate/daml/KyaCycle.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/daml/KyaCycle.daml -- KyaCycle: the two legs of an OTC cycle where the desk loses its OWN money. -- -- KyaQuote defends the customer payout: a stranger cannot redirect someone -- else's deposit, and a quote cannot pay twice.
Code
dominicrume/cantor8_kya_rails: step-1-mandate/daml/KyaInbound.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/daml/KyaInbound.daml -- KyaInbound: the reverse leg. The customer has naira and wants crypto. -- -- The mirror of KyaCycle, and the more dangerous direction, for one reason -- that has nothing to do with cryptography: a nair
Code
dominicrume/cantor8_kya_rails: step-1-mandate/daml/KyaMandate.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/daml/KyaMandate.daml -- KyaMandate: extends the Cantor8 hackathon starter Mandate.daml (credit: Cantor8 toolkit) -- Additions for KYA Rails: counterparty allow-list, charge memo for the audit trail. -- The cap is enforced HE
Code
dominicrume/cantor8_kya_rails: step-1-mandate/daml/KyaQuote.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/daml/KyaQuote.daml -- KyaQuote: bind a deposit to the person who asked for it, before the money exists. -- -- The mandate in KyaMandate stops an operator paying an account the principal -- never authorised. It does not stop
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaAnchorTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaAnchorTest.daml -- The attack suite for KyaAnchor. What an anchor must refuse to say. -- -- An anchor is a claim published on a public ledger under the principal's own -- signature. A wrong one is worse than non
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaBoundaryTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaBoundaryTest.daml -- Tests for the boundaries and the authority that no test pinned. -- -- On 21 November 2026 Mewt (Trail of Bits' mutation tester, run from a verified -- release, on a copy) tried 109 mutants o
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaCycleTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaCycleTest.daml -- The attack suite for the two legs where the desk loses its own money. module KyaCycleTest where import Daml.Script import KyaCycle data Desk = Desk with principal : Party operator : Party custo
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaGuardGapTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaGuardGapTest.daml -- Tests for the 13 checks that no test noticed losing. -- -- On 20 November 2026 the review harness was run on this package (the same one -- the free GitHub Action runs). 50 checks, 37 with a
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaInboundTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaInboundTest.daml -- The attack suite for the reverse leg: naira in, crypto out. module KyaInboundTest where import DA.Time (addRelTime, hours) import Daml.Script import KyaInbound data Desk = Desk with principal
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaOperatorAloneTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaOperatorAloneTest.daml -- N1: the operator on its own must not be able to create a desk contract. -- -- Found on 14 November 2026. Quote, InboundDeal, SupplyLeg, DepositInstruction, -- Release and Settlement had
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaQuoteTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaQuoteTest.daml -- The attack suite for KyaQuote. Every script is the loss it prevents. -- -- These are not hypotheticals. They are the sequence a working desk described: -- a quote given at 10:00 to someone who
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaSupport.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaSupport.daml -- Shared by the tests that must know WHICH rule refused, not only that -- something did. submitMustFail proves a transaction was refused. It cannot tell -- the rule you meant from another rule that
Code
dominicrume/cantor8_kya_rails: step-1-mandate/test/daml/KyaTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-1-mandate/test/daml/KyaTest.daml -- KyaTest: the attack suite for KyaMandate. -- -- The parties are named for the situation this was built for: a business whose -- principal is in one country and whose payouts happen in another. The -
Code
dominicrume/cantor8_kya_rails: step-1-mandate/THE-JOB.md
JOB: step-1-mandate IN: the organisers' Mandate.daml starter (copy, keep their header credit) DO: extend it: counterparty allow-list; keep cap, expiry, revoke, propose/accept OUT: KyaMandate.daml that builds, tests passing: under-cap OK, over-cap FAILS, wrong counterparty FAILS, after-revoke FAILS
Code
dominicrume/cantor8_kya_rails: step-2-agent/CONTEXT.md
CONTEXT.md (Layer 2, stage 2: what do I do?) Job Run the shopping agent against the mandate and stamp one sealed receipt per attempt, accepted or refused, into a tamper-evident chain. Inputs | File | Why | | --- | --- | | ../step-1-mandate/KyaMandate.daml | the rules this stage's MockLedger
Code
dominicrume/cantor8_kya_rails: step-2-agent/DEVNET-PARTIES.md
DevNet parties for KYA Rails Allocated on the shared Cantor8 DevNet validator. Party IDs are public identifiers, not secrets. The credential itself lives in the shell only. All five share one namespace fingerprint because they are hosted on the same shared participant node. | Role in the demo | Pa
Code
dominicrume/cantor8_kya_rails: step-2-agent/THE-JOB.md
JOB: step-2-agent IN: a mandate (mock at home, DevNet at venue), a scripted customer conversation DO: agent plans its route, attempts charges: two legal, one over-cap, one to a stranger, one after revoke. Every attempt -> stamped, sealed receipt. OUT: receipts.js for the verifier, and a printed st
Code
dominicrume/cantor8_kya_rails: THE-RULES.md
KYA RAILS. THE RULES. Build for Cantor8 "Build on Canton" Hackathon, challenge D1: a spend-limited wallet for Canton Automated Execution. Built with the KYA Method: Promise it. Attack it. Inspect it. Prove it. The promise An automated execution may spend money ONLY under a written mandate: a ca
Code
dsrvlabs/canton-lens: apps/backend/src/check/fixtures/README.md
check/fixtures These are the answers a real, running participant gave. They are not invented examples. One thing in them was edited and it is named below: the package list, from which the standard libraries were removed along with their bytes. CI has no Canton node. So run-check.test.ts stan
Code
dsrvlabs/canton-lens: apps/backend/src/check/unjudged-slots.md
Slots nothing judged Generated — apps/backend/src/check/coverage.test.ts writes it and requires it to match. Every slot of every schema a mapped answer can reach has a rule (that is coverage()'s business). This is the other half: whether anything ever *ran* that rule. A rule under a union
Code
dsrvlabs/canton-lens: docs/deployment.md
Deployment Explorer ships an independently runnable React Frontend and JSON Backend API. Select the authentication profile explicitly; missing, invalid, or mismatched modes fail at build or startup. There is no automatic fallback. Authentication profiles | Frontend VITE_AUTH_MODE | Backend L
Code
dsrvlabs/canton-lens: docs/development.md
Development Repository layout apps/frontend/ Vite + React UI apps/backend/ Fastify JSON API and OpenAPI document packages/core/ Pure ledger-domain logic, zero runtime dependencies packages/design-system/ Design tokens and domain-free React components docker/ Deployment images, compose f
Code
dsrvlabs/canton-lens: docs/security.md
Security boundaries Canton Lens relays credentials to a participant and displays private ledger data. Canton remains the authority for token validity and ledger visibility; the deployer owns every boundary before the request reaches Canton. Token boundaries | Profile | Credential location | Con
Code
dsrvlabs/canton-lens: packages/design-system/README.md
@canton-lens/design-system The design system for Canton Lens. Only tokens (CSS variables) and the domain-free primitives built from them live here. The boundary — what is not here This package knows nothing about the ledger. The words party · contract · lens · offset appear nowh
Code
dsrvlabs/canton-lens: README.md
Canton Lens
Code
fronow/Canton-Stress-Test: ci/README.md
Gating any CI — GitHub not required canton-stress gates a build the way every command-line tool does: it exits non-zero when an SLA is breached. Nothing about that is tied to a platform, a hosted service, or a repository host. node src/cli.ts run <dar> --workload-file <w.json> \ --min-thro
Showing 301 to 330 of 895Search all sources →