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 4h ago29 sources
19 more sources90 pages
Code
peacefulstudio/canton-dotnet-sdk: conformance/contractkeys/Disclosure.daml
…he-2.0 module Disclosure where template Offer with issuer : Party price : Int where signatory issuer nonconsuming choice Inspect : Int with reader : Party controller reader do pure…
Code
peacefulstudio/canton-dotnet-sdk: conformance/crossmodulecollision/CollisionA.daml
… module CollisionA where template Agreement with operator : Party where signatory operator choice Retag : ContractId Agreement with newOperator : Party controller operator do creat…
Code
OpenZeppelin/canton-stablecoin: simple-token/daml/SimpleToken/ContextUtils.daml
Daml contract source - OpenZeppelin/canton-stablecoin/simple-token/daml/SimpleToken/ContextUtils.daml -- | Choice context utilities for the simple token standard. -- Copied from Sp…
Code
OpenZeppelin/canton-token-template: simple-token/daml/SimpleToken/ContextUtils.daml
Daml contract source - OpenZeppelin/canton-token-template/simple-token/daml/SimpleToken/ContextUtils.daml -- | Choice context utilities for the simple token standard. -- Copied fro…
Code
OpenZeppelin/canton-stablecoin: stablecoin/daml/Stablecoin/Vault.daml
…ced. -- Undercollateralized vaults can be liquidated by any party (with admin co-sign). -- Stability fees accrue linearly on each vault operation. module Stablecoin.Vault where imp…
Code
digital-asset/dpm: pkg/testutil/testdata/multi-package-sdk-version/interfaces/daml/Asset.daml
…set.daml module Asset where data View = View { assetOwner : Party , description : Text } deriving (Show, Eq) interface Asset where viewtype View getOwner : Party nonconsuming choic…
Code
LYNC-WORLD/canton-deploy: tests/e2e/fixture/daml/Setup.daml
… import qualified Main data Parties = Parties with issuer : Party owner : Party setup : Parties -> Script () setup Parties{issuer, owner} = script do _ <- submit issuer do createCm…
Code
digital-asset/dpm: pkg/testutil/testdata/multi-package-sdk-version-overrides/interfaces/daml/Asset.daml
…set.daml module Asset where data View = View { assetOwner : Party , description : Text } deriving (Show, Eq) interface Asset where viewtype View getOwner : Party nonconsuming choic…
Code
digital-asset/cn-quickstart: quickstart/daml/external-test-sources/splice-token-standard-test/daml/Splice/Tests/TestAmuletTokenDvP.daml
…ent data AllocatedOTCTrade = AllocatedOTCTrade with alice : Party bob : Party provider : Party providerBeneficiary1 : Party providerBeneficiary2 : Party providerBeneficiaries : [(P…
Code
peacefulstudio/canton-dotnet-sdk: docs/public/type-mappings.md
…nd a Daml.Runtime type, including the Optional, Numeric and Party edge cases. Back to the README. | Daml Type | C# Type | Runtime Type | |-----------|---------|--------------| | In…
Code
Denend/x402-canton-facilitator: specs/scheme_exact_canton.md
Exact Payment Scheme for Canton Network (exact) This document specifies the exact payment scheme for the x402 protocol on Canton Network. The client signs a TransferFactory_Transfe…
Code
peacefulstudio/canton-dotnet-sdk: conformance/contractkeys/KeyBuilders.daml
…ilders where data ScheduleView = ScheduleView with issuer : Party reference : Text deriving (Eq, Show) data ScheduleKey = ScheduleKey with custodian : Party id : Text deriving (Eq,…
Code
BootNodeDev/canton-dappbooster: example-dapps/token-vesting/architecture.md
…both the submitter and the reader, and the app never sees a party it is not connected as. Two interfaces carry that, and every other decision hangs off them. Parts | Path | Role | …
Code
digital-asset/dpm: pkg/testutil/testdata/multi-package-sdk-version/main/daml/Main.daml
…et (Asset) import qualified Asset template IOU with issuer: Party owner: Party value: Int name: Text where signatory issuer, owner interface instance Asset for IOU where view = Ass…
Code
digital-asset/dpm: pkg/testutil/testdata/multi-package-sdk-version-overrides/main/daml/Main.daml
…et (Asset) import qualified Asset template IOU with issuer: Party owner: Party value: Int name: Text where signatory issuer, owner interface instance Asset for IOU where view = Ass…
Code
OpenZeppelin/canton-stablecoin: simple-token/daml/SimpleToken/Preapproval.daml
…om this contract. template TransferPreapproval with admin : Party receiver : Party instrumentId : InstrumentId expiresAt : Optional Time meta : Metadata where signatory admin, rece…
Code
walnuthq/dpm-trace: docs/commands.md
…rl": "http://localhost:<json-ledger-api-port>", "readAs": "<party-id>", "darPaths": ["./path/to/app.dar"] } trace Inspect a committed transaction: dpm trace <update-id> With explic…
Code
BootNodeDev/canton-dappbooster: example-dapps/token-vesting/PROVENANCE.md
…rc/styles/index.css imports the theme CSS. The source's own party-id truncation and copy helpers were dropped in favour of the kit's <Identifier> primitive and its truncateIdentifi…
Code
OpenZeppelin/canton-token-template: simple-token/daml/SimpleToken/Preapproval.daml
…om this contract. template TransferPreapproval with admin : Party receiver : Party instrumentId : InstrumentId expiresAt : Optional Time meta : Metadata where signatory admin, rece…
Code
OpenZeppelin/canton-contracts: test/scoped-authorization-grant-v1-test/daml/OpenZeppelin/ScopedAuthorizationGrantV1PolicyTest.daml
…q, Show, Serializable) template PolicyResource with owner : Party reviewer : Party instanceBound : Bool where signatory owner nonconsuming choice PolicyResource_Operate : SAG.Autho…
Code
OpenZeppelin/canton-contracts: examples/pausable/vault/daml/OpenZeppelin/Examples/Pausable/Vault.daml
…on, and on an emergency drain. template Payout with payer : Party recipient : Party amount : Decimal where signatory payer observer recipient ensure amount >= 0.0 template Vault wi…
Code
OpenZeppelin/canton-contracts: examples/pausable/retrofit-v1-0/daml/OpenZeppelin/Examples/Pausable/Retrofit.daml
…mples.Pausable.Retrofit where template Account with admin : Party holder : Party balance : Decimal where signatory admin observer holder choice Account_Withdraw : ContractId Accoun…
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 i…
Code
Denend/x402-canton-agent: packages/agent-wallet/README.md
…holds its own Ed25519 key. A facilitator relay onboards the party and prepares transactions over plain HTTPS, so no Canton node is needed; the relay never signs. Quickstart npm i -…
Code
OpenZeppelin/canton-contracts: packages/access/scoped-authorization-grant-v1/daml/OpenZeppelin/ScopedAuthorizationGrantV1.daml
…irement = AuthorizationRequirement with expectedAuthority : Party expectedScope : AuthorizationScope deriving (Eq, Show) -- | Derive a requirement from a resource and an applicatio…
Code
sigilry/sigilry: examples/demo-app/daml/TodoList.daml
…t.daml module TodoList where template TodoItem with owner : Party description : Text completed : Bool where signatory owner choice Complete : ContractId TodoItem controller owner d…
Code
OpenZeppelin/daml-props: daml/DamlProps/Invariant.daml
…iant where -- | Ledger state snapshot: amounts held by each party. -- Generic representation that works across token implementations. data LedgerState = LedgerState with balances :…
Code
BootNodeDev/canton-dappbooster: example-dapps/token-vesting/README.md
…t picker and log in with the client secret unsafe. Create a party in the gateway. 4. In the account menu, use Tap dAppBooster Token to get 1000 DBT. 5. Create a grant for a second …
Code
OpenZeppelin/canton-contracts: test/api-pausable-v1-test/daml/OpenZeppelin/Api/PausableV1TestFixtures.daml
…ort OpenZeppelin.Api.PausableV1 template Vault with admin : Party holder : Party paused : Bool balance : Int where signatory admin observer holder interface instance Pausable for V…
Code
peacefulstudio/canton-dotnet-sdk: src/Canton.Ledger.Pqs.Client/README.md
Canton.Ledger.Pqs.Client Type-safe query client for the Canton Participant Query Store (PQS), part of the Canton .NET SDK. Provides expression-based, SQL-injection-safe queries ove…
Showing 181 to 210 of 451Search all sources →