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 45m 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
Code
dominicrume/cantor8_kya_rails: scoreboard/THIRTEEN-CHECKS.md
Thirteen Checks scoreboard, run before demo 1 Written rules: PASS (THE-RULES.md, read by agent at boot) 2 Plan before code: PASS (job cards committed before code) 3 Small pieces: PASS (three stages) 4 Route not reflex: PASS (agent prints its plan before acting) 5 Done defined: PASS (each job card
Code
dominicrume/cantor8_kya_rails: SHORTCUTS.md
Shortcut log. A written shortcut is a debt paid on our schedule. | date | shortcut | why | repay by | |---|---|---|---| | 2026-08-29 | MockLedger mirrors Daml assertions in Python for offline demo | venue network unknown | venue: swap to c8lab DevNet calls | | 2026-08-29 | Charge records value, do
Code
dominicrume/cantor8_kya_rails: SPEC.md
KYA Receipt Chain, version 1.4 A wire format for tamper-evident receipts of agent actions, including the actions that were refused. Status: draft by one author, with no independent implementation yet. "Stable" here means only that no seal has changed since 1.0. Reference implementations: [kya
Code
dominicrume/cantor8_kya_rails: STATUS.md
Status: what is proven, what is mocked, what is pending *Rows carry their own dates. Last full sweep: 2026-11-21, 54 of 54 suites green. Regenerate the numbers with python3 tools/dashboard.py, the champion figures with python3 tools/champions.py, the vote state with python3 tools/vote_pipelin
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Attempt.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Attempt.daml -- | Two-phase attempts: a record that survives a revert. -- -- THE OBJECTION THIS EXISTS FOR. Arpit Karnatak of Vacuumlabs, on -- forum.canton.network/t/9084, 18 October 2026: -- -- "We can commit when a c
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Journal.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Journal.daml -- | Federico's first objection, answered on the ledger instead of in a hash. -- -- THE OBJECTION. On forum.canton.network/t/9114 a Canton Community Tech -- Partner said the hash chain makes existing receip
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Preimage.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Preimage.daml -- | A commitment the ledger checks, with a preimage the auditor never sees. -- -- WHO SUGGESTED THIS. On forum.canton.network topic 9505, two engineers -- answered the owner's commitment problem with the
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Refusal.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Refusal.daml -- | A refusal that survives, for any Canton application. -- -- THE PROBLEM THIS EXISTS FOR. In Daml a failed assertMsg aborts the whole -- transaction. Nothing is written. After a refused action the ledg
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Scheduled.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Scheduled.daml -- | Scheduled and recurring actions, with the ledger enforcing the clock. -- -- Asked on forum.canton.network/t/9314 on 17 October 2026: end-of-day close, -- monthly interest, maturity settlement. Nothin
Code
dominicrume/cantor8_kya_rails: step-0-refusal/daml/Sharded.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/daml/Sharded.daml -- | Sharded journals: the same evidence, without serialising the business. -- -- THE PROBLEM, named by PREDGE on forum.canton.network/t/9114 on 21 October -- 2026 and left unmeasured: -- -- "The cost is co
Code
dominicrume/cantor8_kya_rails: step-0-refusal/interface/daml/Guarded.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/interface/daml/Guarded.daml -- | Making the journal non-optional, using Daml's authorization model. -- -- THE HOLE EVERYTHING ELSE SAT ON. Journal.daml and Attempt.daml both ended -- with the same admission: nothing forces a
Code
dominicrume/cantor8_kya_rails: step-0-refusal/README.md
canton-refusal-record A refusal that survives, for any Canton application. One Daml module. No dependencies but daml-prim and daml-stdlib. MIT. The problem In Daml a failed assertMsg aborts the whole transaction. Nothing is written. After a refused action the ledger looks exactly as i
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/AttemptTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/AttemptTest.daml -- Two-phase attempts. Every test here exists because of one objection: -- Arpit Karnatak, Vacuumlabs, forum 9084, 18 October 2026. If the check -- passes and something later in the transaction rev
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/ChoiceObserverTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/ChoiceObserverTest.daml -- | Does a choice observer witness a non-consuming exercise, and does a plain -- contract observer not? -- -- PREDGE asked and answered this on forum.canton.network topic 9114, post 16, --
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/GuardedTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/GuardedTest.daml -- The hole everything else sat on: nothing forced an application to use the -- journal. This suite decides whether that is now closed. -- -- The honest headline, which test 4 proves rather than as
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/JournalTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/JournalTest.daml -- The point of this suite is the detection, not the template. -- -- Every test here is written so that it goes red if the journal stops being -- able to catch a specific lie. A suite that only pro
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/PreimageTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/PreimageTest.daml -- The commitment the ledger checks. One test per property, each named for the -- property it holds, because a mutation run deletes one assertion at a time -- and a NAMED test has to go red. -- --
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/RefusalTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/RefusalTest.daml -- The point of this suite is not that the template compiles. It is that an -- application with NO concept of money can use it, because that is the thing -- ChargeRefused could not do and the reaso
Code
dominicrume/cantor8_kya_rails: step-0-refusal/test/daml/ScheduledTest.daml
Daml contract source - dominicrume/cantor8_kya_rails/step-0-refusal/test/daml/ScheduledTest.daml -- Scheduled and recurring actions. The point of every test here is that the -- LEDGER refuses a run at the wrong time, so a scheduler firing early, late -- or twice costs you a rejected transact
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
Showing 2,221 to 2,250 of 3,556Search all sources →