CIP-0112: Token Standard V2
- Dear Community,The CIP-0056 token standard just celebrated its first birthday and has become an integral part of the network in that time. I'd like to invite you all to share your experiences and insights gained in that time by participating in shaping an iteration that makes incremental but material improvements to the standard.CIP Text: CIP-0112: Token Standard V2AbstractThis proposal outlines a set of improvements to the CIP-0056 Canton Network Token Standard. These enhancements make the token standard more suitable for integration with traditional trading and settlement venues, as well as on-chain securities that model holding and settlement via custody chains. They also include improvements to settlement efficiency at the protocol level as well as optimization to the funds that need to be allocated. A high level of backward compatibility with CIP-0056 means that the evolved standard will further foster interoperability between wallets, apps, and assets across crypto and traditional finance.ProcessDigital Asset will sponsor this CIP, but we are not asking for endorsement at this point. We propose at least a month of soak time for discussion and will attempt to take it to vote only once inputs from the community could be adequately addressed and there is sufficient alignment around the new standard.The iteration is motivated by discussions we've been having with apps and assets trying to enter the network, especially in the RWA/TradFi space, as well as our own experience since the introduction of CIP-0056. The initial draft CIP text presented here proposes a scope of iteration that solves what we have so far identified as the most pressing matters.We'd now like to get inputs from the community at large:- Feedback on the value and validity of the improvements proposed- Inputs on additional improvements that would move the needle for the network- Feedback on the specific design decisions or indeed ideas for improvements to the proposed APIs and guidelinesTo allow for practical validation, we are doing a large part of the implementation work as part of the CIP discussion phase. We have already spun up a dedicated "token standard v2 devnet". Any DevNet validator operator can join it following these instructions. Please take care to use dedicated throw-away nodes. Do not use your DevNet nodes. On this network and over the course of the month of April, Canton Coin will be fully upgraded to also support token standard v2, and we will add a Daml model for a token with privacy that makes use of the advanced features as well.Related GrantThere is a grant proposal related to this CIP which was accepted by Tech & Ops this week.Since this is the first time that we as a community work through a technical/standards CIP based on a foundation grant, I want to frame the relationship here. The grant does not represent a decision on the scope of the iteration, nor a decision to adopt the standard. Rather, it gives Digital Asset, the recipient of this grant, the mandate to do the necessary heavy lifting of gathering community inputs, making a design proposal, laying the groundwork for the community to validate that proposal, and to iterate on it until the community as a whole is aligned and the new standard can be ratified through the CIP process.That process is kicking off with this email.Kind regards,Bernhard--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted textAFAIS, the initial message does not mention the PR with the proposed CIP against the repository. For the sake of completeness, here it is: https://github.com/canton-foundation/cips/pull/187On Thu, Apr 2, 2026 at 10:18 AM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Dear Community,The CIP-0056 token standard just celebrated its first birthday and has become an integral part of the network in that time. I'd like to invite you all to share your experiences and insights gained in that time by participating in shaping an iteration that makes incremental but material improvements to the standard.CIP Text: CIP-0112: Token Standard V2AbstractThis proposal outlines a set of improvements to the CIP-0056 Canton Network Token Standard. These enhancements make the token standard more suitable for integration with traditional trading and settlement venues, as well as on-chain securities that model holding and settlement via custody chains. They also include improvements to settlement efficiency at the protocol level as well as optimization to the funds that need to be allocated. A high level of backward compatibility with CIP-0056 means that the evolved standard will further foster interoperability between wallets, apps, and assets across crypto and traditional finance.ProcessDigital Asset will sponsor this CIP, but we are not asking for endorsement at this point. We propose at least a month of soak time for discussion and will attempt to take it to vote only once inputs from the community could be adequately addressed and there is sufficient alignment around the new standard.The iteration is motivated by discussions we've been having with apps and assets trying to enter the network, especially in the RWA/TradFi space, as well as our own experience since the introduction of CIP-0056. The initial draft CIP text presented here proposes a scope of iteration that solves what we have so far identified as the most pressing matters.We'd now like to get inputs from the community at large:- Feedback on the value and validity of the improvements proposed- Inputs on additional improvements that would move the needle for the network- Feedback on the specific design decisions or indeed ideas for improvements to the proposed APIs and guidelinesTo allow for practical validation, we are doing a large part of the implementation work as part of the CIP discussion phase. We have already spun up a dedicated "token standard v2 devnet". Any DevNet validator operator can join it following these instructions. Please take care to use dedicated throw-away nodes. Do not use your DevNet nodes. On this network and over the course of the month of April, Canton Coin will be fully upgraded to also support token standard v2, and we will add a Daml model for a token with privacy that makes use of the advanced features as well.Related GrantThere is a grant proposal related to this CIP which was accepted by Tech & Ops this week.Since this is the first time that we as a community work through a technical/standards CIP based on a foundation grant, I want to frame the relationship here. The grant does not represent a decision on the scope of the iteration, nor a decision to adopt the standard. Rather, it gives Digital Asset, the recipient of this grant, the mandate to do the necessary heavy lifting of gathering community inputs, making a design proposal, laying the groundwork for the community to validate that proposal, and to iterate on it until the community as a whole is aligned and the new standard can be ratified through the CIP process.That process is kicking off with this email.Kind regards,Bernhard--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted text
Dear Community,
Since originally posting this CIP draft, we received feedback and made some discoveries ourselves on the Token Standard DevNet and have been iterating based on that. The validation and iteration work can be tracked in the V2_Validation.md file. The below is largely a summary and expansion on its contents. The sections are increasingly more detailed as you go down, with all but the top-most sections targeted at those that are knees-deep in coding against the CIP-0112 draft standard.
As you can see there’s a lot going on, and I want to thank all those that engaged in validation and feedback so far. I would like to encourage everyone to provide feedback on this email thread or on the token standard devote Slack channel so it’s visible and available to the whole community.
Kind regards,
Bernhard
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.
- We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
The improvement introduces an EventLog interface, which emits standalone events as side-effect free non-consuming choices, similar to ERC-20 events.
The rationale for this is this:
CIP-0056 tx history parsing relies on events from the TransactionFactory and AllocationFactory interfaces with a fallback to metadata. Both have some shortcomings: Using the factory events means that observing the event means observing all consequences thereof. E.g. to show a receiver of a transfer the TransactionFactory_Transfer event, one would also have to show them the input holding pre-split. Using meta-data requires full transaction tree traversal on the client side rather than being able to rely on a list of filtered events.
It has also been a challenge to get the cross-version-compatibility to work fully on the transaction history-parsing side. If the same factory-choice based approach was adopted in CIP-0112, and one wanted to emit both V1 and V2 events for a transfer, then the V1 choice has to call the V2 choice and vice versa. This circular dependency with the needed switching logic whether the choice is called directly or by the other version is not practical.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.
- Add an explicit AllocationRequest_Accept choice to provide a standard way for wallets to signal acceptance and provide replay protection for the creation of the corresponding allocations. Rather than apps, wallets will have the responsibility to remove AllocationRequest contracts from state. This means that apps should issue one AllocationRequest per trading party and can no longer save costs by emitting one AllocationRequest for all trading parties as was possible in CIP-0056.
- (Planned) The way CIP-0112 proposes to authorize V1 Allocations within a V2 SettleBatch call via extra extraSettlementAuthorizers (discovered from extraReceiptAuthorizers) has proven to not work as intended. Firstly, the complexity introduced is high, but more importantly, the privacy implications were that all traders of a V1 allocation end up seeing the entire V2 batch settlement, defeating a big art of the purpose of CIP-0112. Instead, V2 apps now need to create the receipt Allocations outside the settlement. This is demonstrated in the V2 trading app on the PR for this change.
Open Discussions
- We got feedback suggesting we change the type of `availableActions : Map.Map [Party] [SomeAction]` to `availableActions : Map.Map SomeAction [Party]` as Inverting the lookup direction has proven to be simpler in implementations.
- We (DA) agree, but propose to use type `Map AllocationAction [[Party]]` where the values represent disjunctive normal form. E.g. an entry `(TIA_Accept, [[Alice], [Bob], [Alice, Bob]])` indicates, that either Alice alone, Bob alone, or Alice and Bob jointly can call the Accept choice. Likely this would indicate that if Alice or Bob alone call it, the other party would afterward have to call it as well.
- The original proposers of the improvement have countered with a typed approach consisting of `type ActionsMap = Map.Map AllocationRequestAction SigType` where `data SigType = AnySig [Party] | MultiSig [Party] | FlexiSig [SigType]`, where the equivalent to the above would just be `MultiSig [Alice, Bob]`. The argument is that for many common cases, readability and expression complexity are lower.
- We’d love to hear from the community whether there are any opinions on one versus the other. DA’s position on the above is that the disjunctive normal form strikes a good balance of expressivity and complexity and has the great advantage that authorization checks (Can Alice call this choice?) are simple list element checks (`elem alice availableActions`).
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.
- Replace ChoiceExecutionMetadata with concrete result types for AllocationRequest_Reject and AllocationRequest_Withdraw choices to prepare for an eventual future where interface definitions may be upgraded
- Use authorizerHoldingCids instead of senderHoldingCids in all V2 choice results that return holdings of the allocation authorizer. This is a pure naming change to consolidate terminology around “authoriser” in stead of “sender” for allocations.
- Reordered the HoldingV2.Account fields to put owner first for improved readability of debug output
- Return "holding change" as TextMap [ContractId Holding] where the keys are instrumentId.ids, so that callers can identify the holdings for a specific instrument without needing to fetch the holding.
- Improve commentary on V2.AllocationRequest choices
- Add choice observers to V2.TransferFactory_Transfer. This allows adding informs to the V2.TransferFactory_Transfer event, which can be used to save cost/traffic in some cases.
- Renamed _extraObserverDefaultImpl to _extraObserversDefaultImpl to reflect that it can return multiple observers
- Use Account.id : Text instead of Optional Text to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improvements to Splice/Utility Functions/Sample Token(s)These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-01112 text.
- Add a new Splice.Util.TokenWallet.BatchingUtilityV2 template with choices that implement the standard logic for accepting V1 and V2 requests in a V2 wallet. This template can be used by wallets to create transfers to multiple counterparties in a view- and cost optimised way, or to accept/reject/withdraw offers in bulk.
- Test tokens for V1 and V2 are in the works here. The V2 token in particular is not yet finished, but should be done over the next two weeks.
- Replace buggy netAllocationCreditAmount with netAllocationCreditAmounts that properly distinguishes between legs of different instruments, and a map of credit amounts by instrument id.
- Export 'require' and 'isGreaterOrEqualR' and its variants from Splice.TokenStandard.Utils to simplify writing validation code in choice bodies.
- Extend token standard test infrastructure:
- Add TestTokenV1 to simulate settlement involving V1-only tokens
- Add TestTokenV2 to simulate settlement involving tokens with support for accountable holdings and multiple instruments maintained by the same admin
- Add MultiRegistry to simulate the off-ledger APIs of multiple registries in a single test environment
- Extend TradingAppV2 to support mixed version settlement of trades involving V1-only tokens, and V1/V2 tokens whose allocations are created through either a V1 wallet or a V2 wallet
- Remove redundant Splice.Testing.UtilsV2 module: use Splice.Testing.Utils instead
- Add utility functions to create metadata for V1 transaction history parsing to Splice.TokenStandard.Utils
- (Planned) Move TradingAppV2 into its own package to enable reuse in integration tests.
- (Planned) Merge splice-token-standard-test-v1 and splice-token-standard-test-v2 into a single test package, with separate modules for V1 and V2 tests.
On Thu, Apr 9, 2026 at 9:06 PM Wayne Collier via lists.sync.global <wayne.collier=digitalasset.com@...> wrote:CIP-0112 is now in the CIP repository in Draft state.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
- toggle quoted message Show quoted text
Hi all,
Time for another update on Token Standard V2 developments.
Since the last update, we’ve further evaluated the initial designs and worked with participants on further enhancements that I wanted to share. Discussions have shifted from the originally proposed scope to a whole range of further enhancements that have also led to us not yet having put the CIP up for vote at the end of April as originally intended. But with the test token and amulet now fully integrating the enhancements, we are sufficiently confident that the interfaces deliver what they promise. Over the coming week, we expect to finalize the CIP text and then ask for it to be taken to a vote. So if you still have feedback in the pipe, please share it asap so we can work with you to incorporate it.
Kind regards,
Bernhard
Closing out the Open Discussion from the last update
We will change the type of availableActions to availableActions : Map.Map SomeAction [[Party]]. This seems to work well for implementing the TestTokenV2 with highly flexible authorization models.
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.The Token Standard V2 Transaction History Parsing API discussed in the last update has been iterated on to allow event based reporting of all holdings changes and transfers.
This simplifies parsing for wallets: just look for `EventLog_HoldingsChange` events to understand all changes to the holdings of an account
All interfaces are in a new API package `splice-api-token-transfer-events-v2`
This API is fully implemented for Amulet/Canton Coin.
Open and Committed Allocations for Prefunded Trading and Iterated Settlement
One of the inputs we got from multiple sides is around locking and allowing for pre-funded trading. V1 Allocations as well as the initially specified V2 allocations always give the sender the ability to withdraw, and always specify the exact transfer legs that will be executed. This was designed for settlement of executed trades. Yet several venues have emerged on Canton Network that do or want to do pre-funded trading. In the prefunded model, the owner needs to be able to give the venue the ability to specify the transfer legs later and must forego the ability to withdraw the allocation for a duration to avoid settlement failures.
#5333 adds API extensions that allow for open and committed allocations. Full details in the changelogs.
It introduces committed allocations that lock the funds until settlement time.
`RequestedAllocation.committed` lets an app request creation of a committed allocation.
`AllocationSpecification.committed` records that commitment on the created allocation.
if `committed = True`, the authorizer cannot withdraw the allocation before the settlement deadline; if there is no settlement deadline, the authorizer cannot withdraw it at all. The allocation must instead be concluded by settlement, cancellation, or registry-specific expiry.
Allocations can now hold extra funding that can be used in yet to be specified transfer legs.
This is specified in a new field `nextIterationFunding : Optional (TextMap.TextMap Decimal)` that maps from instrumentId to amount.
When set, “iterated settlement” is enabled on the allocation.
The type of `allocations` on SettlementFactory_SettleBatch has been changed to allow the executor to pass in extra transfer legs and new values of nextIterationFunding per input allocation.
Prefunded trading now works as follows, e.g. for CC/FooCoin trading:
User creates a committed allocation with executor “dex” with 100 CC in nextIterationFunding, and no legs specified.
User creates a committed allocation with executor “dex” with 0 FooCoin and an emptyMap in nextIterationFunding.
User trades 30CC for 10 FooCoin.
dex settles by atomically calling SettlementFactory_SettleBatch on both tokens, specifying the two legs, and iteratedSettlementFunding of 70 CC and 10 FooCoin respectively.
The result is new committed allocations with 70 CC / 10 FooCoin. The user can trade again.
Iterated settlement requires disambiguating whether a self-transfer is incoming or outgoing. Therefore AllocationSpecification now doesn’t store a list of TransferLegs, but a list of TransferLegSides, that state whether the Allocation is on the SenderSide or ReceiverSide of the transfer.
This allows merging of committed Allocations by adding self-transfers on both sides, one on the SenderSide and one on the ReceiverSide.
The primary use case is to top up the deposit for prefunded trading.
As committed state and iterated settlement apply per Allocation, there may now be cases where a venue wants to request multiple allocations for the same admin party from a single trader. To allow this, AllocationRequest has been structured to allow requesting a list of Allocations rather than just a list of TransferLegs.
Use of ownerless Accounts to represent special operations like Burns/Mints.
The owner field on Account is now optional.
Special accounts are represented by `Account.owner = None`. These are intended to be used by registries to report burns and mints as transfers. For example:
Registries can use them to allow allocations to encapsulate a burn or mint action, allowing “Delivery vs Mint” or “Delivery vs Burn” settlements.
Or they could use them to enable trade settlement without disclosing the identity of the settlement counterparties.
#5515 makes the API changes and demonstrates use on the TestToken.
Better support for pausing instruments
A global “pause” function is fairly universal in RWAs, but is currently not detectable through the token standard other than via attempted but failed transfers.
The token metadata API was extended to expose a `paused` flag and optional `pauseInfo`, allowing wallets and other clients to detect when an instrument is paused and why.
This was done as a backwards-compatible change to `token-metadata-v1.yaml` to allow both V1 and V2 clients to benefit from this information without needing to upgrade to a new version of the metadata API.
See #5405 for the API changes.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.Remove the need for extra actors to settle V1 allocations.
Drop the need for `extraSettlementAuthorizers` and `extraReceiptAuthorizers` to use allocations created using `V1.AllocationFactory_Allocate` in a V2 settlement.
Motivation: the extra actors on `SettlementFactory_SettleBatch` made it impossible to use V1 allocation with privacy, which was discovered by app providers attempting to implement the compatibility mode.
Key changes:
The `V2.Allocation_Settle` choice always only requires authorization from the `executors` and the instrument `admin`. Apps can thus call `V2.SettlementFactory_SettleBatch` using `executors` authority only.
Apps need to create missing receipt allocations using their own delegation contracts from their traders. See the `TradingAppV2` implementation for an example of how to do this. Also note these of `Splice.TokenStandard.Utils.ensureIsReceiptAllocation` to check that the allocation factory call delegation is for a receipt allocation only.
Asset owners must be aware that allocations created using `V1.AllocationFactory_Allocate` can be settled with only `executor` authority. They must only create allocations for `executors` that they trust to atomically settle trades involving their allocations.
Introduce `AllocationRequest.originalRequestId` and `Allocation.originalAllocationId` fields, which can be used to track the same request or allocation across state updates, analogously to the `originalInstructionCid` of transfer and allocation instructions.
Enhancements resulting from validation of account authorization in TestTokenV2
We added support for managing jointly controlled accounts via a token standard wallet in the reference token implementation to show the power and flexibility of the new Account type and authorization model.
The general approach is that the other party across owner and provider must use the same action to confirm their agreement to an action. The state of pending actions is tracked in the `TransferInstruction`, `AllocationInstruction`, or `Allocation` contracts.
This generalizes `TransferInstruction_Accept` from just the receiver to be used for anyone that needs to authorize it; e.g., the account provider of the sender might use this choice to confirm that they agree to the transfer being offered to the recipient.
To allow this uniformly, we added a `AllocationInstruction_Accept` choice to confirm the creation of an allocation as well.
To also allow uniformity on the return types, we introduced a uniform `AllocationResult` for `Allocation` choices in line with the *InstructionResult types.
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.Use `Account.id : Text` instead of `Optional Text` to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improve commentary on `AllocationRequest_Accept` to call out that there is no guarantee that wallets call the choice, and thus apps must clean up allocation requests independently
Add an `expiresAt` field to transfer instruction and allocation instruction, so that registries can report and enforce a TTL for instructions that is shorter than the `executeBefore` or the `settlementDeadline` of the underlying transfer or allocation. Registries are expected to bump that TTL on updates to the instruction, so that only long times of inactivity lead to expiry. This extra field allows for standardized garbage collection and avoids hard to remove state leakage for registries.
Remove the `description` and `meta` fields from the `_Custom` actions, as they bloat the representation and can be delivered out of band (or in the view's overall metadata) by the registry if needed.
Improvements to Splice/Utility Functions/Sample Token(s)
These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-0112 text.
Change default implementation of `SettlementFactory_SettleBatch` to check uniqueness of transfer leg ids to provide better safety guarantees for code that identifies legs by their ids
add default implementations for extra observers for `SettlementFactory_SettleBatch` for public and private assets
Consistently use *-v2-1.0.0 for token standard v2 packages
Change version numbers of `splice-api-token-*-v2` packages to `1.0.0` to be consistent with the existing `splice-api-featured-app-v2` package, which also has version `1.0.0`
On Mon, Apr 20, 2026 at 1:57 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Dear Community,
Since originally posting this CIP draft, we received feedback and made some discoveries ourselves on the Token Standard DevNet and have been iterating based on that. The validation and iteration work can be tracked in the V2_Validation.md file. The below is largely a summary and expansion on its contents. The sections are increasingly more detailed as you go down, with all but the top-most sections targeted at those that are knees-deep in coding against the CIP-0112 draft standard.
As you can see there’s a lot going on, and I want to thank all those that engaged in validation and feedback so far. I would like to encourage everyone to provide feedback on this email thread or on the token standard devote Slack channel so it’s visible and available to the whole community.
Kind regards,
Bernhard
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.
- We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
The improvement introduces an EventLog interface, which emits standalone events as side-effect free non-consuming choices, similar to ERC-20 events.
The rationale for this is this:
CIP-0056 tx history parsing relies on events from the TransactionFactory and AllocationFactory interfaces with a fallback to metadata. Both have some shortcomings: Using the factory events means that observing the event means observing all consequences thereof. E.g. to show a receiver of a transfer the TransactionFactory_Transfer event, one would also have to show them the input holding pre-split. Using meta-data requires full transaction tree traversal on the client side rather than being able to rely on a list of filtered events.
It has also been a challenge to get the cross-version-compatibility to work fully on the transaction history-parsing side. If the same factory-choice based approach was adopted in CIP-0112, and one wanted to emit both V1 and V2 events for a transfer, then the V1 choice has to call the V2 choice and vice versa. This circular dependency with the needed switching logic whether the choice is called directly or by the other version is not practical.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.
- Add an explicit AllocationRequest_Accept choice to provide a standard way for wallets to signal acceptance and provide replay protection for the creation of the corresponding allocations. Rather than apps, wallets will have the responsibility to remove AllocationRequest contracts from state. This means that apps should issue one AllocationRequest per trading party and can no longer save costs by emitting one AllocationRequest for all trading parties as was possible in CIP-0056.
- (Planned) The way CIP-0112 proposes to authorize V1 Allocations within a V2 SettleBatch call via extra extraSettlementAuthorizers (discovered from extraReceiptAuthorizers) has proven to not work as intended. Firstly, the complexity introduced is high, but more importantly, the privacy implications were that all traders of a V1 allocation end up seeing the entire V2 batch settlement, defeating a big art of the purpose of CIP-0112. Instead, V2 apps now need to create the receipt Allocations outside the settlement. This is demonstrated in the V2 trading app on the PR for this change.
Open Discussions
- We got feedback suggesting we change the type of `availableActions : Map.Map [Party] [SomeAction]` to `availableActions : Map.Map SomeAction [Party]` as Inverting the lookup direction has proven to be simpler in implementations.
- We (DA) agree, but propose to use type `Map AllocationAction [[Party]]` where the values represent disjunctive normal form. E.g. an entry `(TIA_Accept, [[Alice], [Bob], [Alice, Bob]])` indicates, that either Alice alone, Bob alone, or Alice and Bob jointly can call the Accept choice. Likely this would indicate that if Alice or Bob alone call it, the other party would afterward have to call it as well.
- The original proposers of the improvement have countered with a typed approach consisting of `type ActionsMap = Map.Map AllocationRequestAction SigType` where `data SigType = AnySig [Party] | MultiSig [Party] | FlexiSig [SigType]`, where the equivalent to the above would just be `MultiSig [Alice, Bob]`. The argument is that for many common cases, readability and expression complexity are lower.
- We’d love to hear from the community whether there are any opinions on one versus the other. DA’s position on the above is that the disjunctive normal form strikes a good balance of expressivity and complexity and has the great advantage that authorization checks (Can Alice call this choice?) are simple list element checks (`elem alice availableActions`).
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.
- Replace ChoiceExecutionMetadata with concrete result types for AllocationRequest_Reject and AllocationRequest_Withdraw choices to prepare for an eventual future where interface definitions may be upgraded
- Use authorizerHoldingCids instead of senderHoldingCids in all V2 choice results that return holdings of the allocation authorizer. This is a pure naming change to consolidate terminology around “authoriser” in stead of “sender” for allocations.
- Reordered the HoldingV2.Account fields to put owner first for improved readability of debug output
- Return "holding change" as TextMap [ContractId Holding] where the keys are instrumentId.ids, so that callers can identify the holdings for a specific instrument without needing to fetch the holding.
- Improve commentary on V2.AllocationRequest choices
- Add choice observers to V2.TransferFactory_Transfer. This allows adding informs to the V2.TransferFactory_Transfer event, which can be used to save cost/traffic in some cases.
- Renamed _extraObserverDefaultImpl to _extraObserversDefaultImpl to reflect that it can return multiple observers
- Use Account.id : Text instead of Optional Text to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improvements to Splice/Utility Functions/Sample Token(s)These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-01112 text.
- Add a new Splice.Util.TokenWallet.BatchingUtilityV2 template with choices that implement the standard logic for accepting V1 and V2 requests in a V2 wallet. This template can be used by wallets to create transfers to multiple counterparties in a view- and cost optimised way, or to accept/reject/withdraw offers in bulk.
- Test tokens for V1 and V2 are in the works here. The V2 token in particular is not yet finished, but should be done over the next two weeks.
- Replace buggy netAllocationCreditAmount with netAllocationCreditAmounts that properly distinguishes between legs of different instruments, and a map of credit amounts by instrument id.
- Export 'require' and 'isGreaterOrEqualR' and its variants from Splice.TokenStandard.Utils to simplify writing validation code in choice bodies.
- Extend token standard test infrastructure:
- Add TestTokenV1 to simulate settlement involving V1-only tokens
- Add TestTokenV2 to simulate settlement involving tokens with support for accountable holdings and multiple instruments maintained by the same admin
- Add MultiRegistry to simulate the off-ledger APIs of multiple registries in a single test environment
- Extend TradingAppV2 to support mixed version settlement of trades involving V1-only tokens, and V1/V2 tokens whose allocations are created through either a V1 wallet or a V2 wallet
- Remove redundant Splice.Testing.UtilsV2 module: use Splice.Testing.Utils instead
- Add utility functions to create metadata for V1 transaction history parsing to Splice.TokenStandard.Utils
- (Planned) Move TradingAppV2 into its own package to enable reuse in integration tests.
- (Planned) Merge splice-token-standard-test-v1 and splice-token-standard-test-v2 into a single test package, with separate modules for V1 and V2 tests.
On Thu, Apr 9, 2026 at 9:06 PM Wayne Collier via lists.sync.global <wayne.collier=digitalasset.com@...> wrote:CIP-0112 is now in the CIP repository in Draft state.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted textNote that the last four changes are still being merged into the main token standard branch. You can find the corresponding PRs using this query: https://github.com/canton-network/splice/pulls?q=is%3Aopen+is%3Apr+author%3Ameiersi-da+label%3Adaml-apiOnce these PRs have been merged in the coming days, all of the changes explained by Bernhard can be found on the main integration branch: https://github.com/canton-network/splice/tree/token-standard-v2-upcomingAnd they should land on TokenStdDevNet next week.On Thu, May 14, 2026 at 3:53 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:
Hi all,
Time for another update on Token Standard V2 developments.
Since the last update, we’ve further evaluated the initial designs and worked with participants on further enhancements that I wanted to share. Discussions have shifted from the originally proposed scope to a whole range of further enhancements that have also led to us not yet having put the CIP up for vote at the end of April as originally intended. But with the test token and amulet now fully integrating the enhancements, we are sufficiently confident that the interfaces deliver what they promise. Over the coming week, we expect to finalize the CIP text and then ask for it to be taken to a vote. So if you still have feedback in the pipe, please share it asap so we can work with you to incorporate it.
Kind regards,
Bernhard
Closing out the Open Discussion from the last update
We will change the type of availableActions to availableActions : Map.Map SomeAction [[Party]]. This seems to work well for implementing the TestTokenV2 with highly flexible authorization models.
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.The Token Standard V2 Transaction History Parsing API discussed in the last update has been iterated on to allow event based reporting of all holdings changes and transfers.
This simplifies parsing for wallets: just look for `EventLog_HoldingsChange` events to understand all changes to the holdings of an account
All interfaces are in a new API package `splice-api-token-transfer-events-v2`
This API is fully implemented for Amulet/Canton Coin.
Open and Committed Allocations for Prefunded Trading and Iterated Settlement
One of the inputs we got from multiple sides is around locking and allowing for pre-funded trading. V1 Allocations as well as the initially specified V2 allocations always give the sender the ability to withdraw, and always specify the exact transfer legs that will be executed. This was designed for settlement of executed trades. Yet several venues have emerged on Canton Network that do or want to do pre-funded trading. In the prefunded model, the owner needs to be able to give the venue the ability to specify the transfer legs later and must forego the ability to withdraw the allocation for a duration to avoid settlement failures.
#5333 adds API extensions that allow for open and committed allocations. Full details in the changelogs.
It introduces committed allocations that lock the funds until settlement time.
`RequestedAllocation.committed` lets an app request creation of a committed allocation.
`AllocationSpecification.committed` records that commitment on the created allocation.
if `committed = True`, the authorizer cannot withdraw the allocation before the settlement deadline; if there is no settlement deadline, the authorizer cannot withdraw it at all. The allocation must instead be concluded by settlement, cancellation, or registry-specific expiry.
Allocations can now hold extra funding that can be used in yet to be specified transfer legs.
This is specified in a new field `nextIterationFunding : Optional (TextMap.TextMap Decimal)` that maps from instrumentId to amount.
When set, “iterated settlement” is enabled on the allocation.
The type of `allocations` on SettlementFactory_SettleBatch has been changed to allow the executor to pass in extra transfer legs and new values of nextIterationFunding per input allocation.
Prefunded trading now works as follows, e.g. for CC/FooCoin trading:
User creates a committed allocation with executor “dex” with 100 CC in nextIterationFunding, and no legs specified.
User creates a committed allocation with executor “dex” with 0 FooCoin and an emptyMap in nextIterationFunding.
User trades 30CC for 10 FooCoin.
dex settles by atomically calling SettlementFactory_SettleBatch on both tokens, specifying the two legs, and iteratedSettlementFunding of 70 CC and 10 FooCoin respectively.
The result is new committed allocations with 70 CC / 10 FooCoin. The user can trade again.
Iterated settlement requires disambiguating whether a self-transfer is incoming or outgoing. Therefore AllocationSpecification now doesn’t store a list of TransferLegs, but a list of TransferLegSides, that state whether the Allocation is on the SenderSide or ReceiverSide of the transfer.
This allows merging of committed Allocations by adding self-transfers on both sides, one on the SenderSide and one on the ReceiverSide.
The primary use case is to top up the deposit for prefunded trading.
As committed state and iterated settlement apply per Allocation, there may now be cases where a venue wants to request multiple allocations for the same admin party from a single trader. To allow this, AllocationRequest has been structured to allow requesting a list of Allocations rather than just a list of TransferLegs.
Use of ownerless Accounts to represent special operations like Burns/Mints.
The owner field on Account is now optional.
Special accounts are represented by `Account.owner = None`. These are intended to be used by registries to report burns and mints as transfers. For example:
Registries can use them to allow allocations to encapsulate a burn or mint action, allowing “Delivery vs Mint” or “Delivery vs Burn” settlements.
Or they could use them to enable trade settlement without disclosing the identity of the settlement counterparties.
#5515 makes the API changes and demonstrates use on the TestToken.
Better support for pausing instruments
A global “pause” function is fairly universal in RWAs, but is currently not detectable through the token standard other than via attempted but failed transfers.
The token metadata API was extended to expose a `paused` flag and optional `pauseInfo`, allowing wallets and other clients to detect when an instrument is paused and why.
This was done as a backwards-compatible change to `token-metadata-v1.yaml` to allow both V1 and V2 clients to benefit from this information without needing to upgrade to a new version of the metadata API.
See #5405 for the API changes.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.Remove the need for extra actors to settle V1 allocations.
Drop the need for `extraSettlementAuthorizers` and `extraReceiptAuthorizers` to use allocations created using `V1.AllocationFactory_Allocate` in a V2 settlement.
Motivation: the extra actors on `SettlementFactory_SettleBatch` made it impossible to use V1 allocation with privacy, which was discovered by app providers attempting to implement the compatibility mode.
Key changes:
The `V2.Allocation_Settle` choice always only requires authorization from the `executors` and the instrument `admin`. Apps can thus call `V2.SettlementFactory_SettleBatch` using `executors` authority only.
Apps need to create missing receipt allocations using their own delegation contracts from their traders. See the `TradingAppV2` implementation for an example of how to do this. Also note these of `Splice.TokenStandard.Utils.ensureIsReceiptAllocation` to check that the allocation factory call delegation is for a receipt allocation only.
Asset owners must be aware that allocations created using `V1.AllocationFactory_Allocate` can be settled with only `executor` authority. They must only create allocations for `executors` that they trust to atomically settle trades involving their allocations.
Introduce `AllocationRequest.originalRequestId` and `Allocation.originalAllocationId` fields, which can be used to track the same request or allocation across state updates, analogously to the `originalInstructionCid` of transfer and allocation instructions.
Enhancements resulting from validation of account authorization in TestTokenV2
We added support for managing jointly controlled accounts via a token standard wallet in the reference token implementation to show the power and flexibility of the new Account type and authorization model.
The general approach is that the other party across owner and provider must use the same action to confirm their agreement to an action. The state of pending actions is tracked in the `TransferInstruction`, `AllocationInstruction`, or `Allocation` contracts.
This generalizes `TransferInstruction_Accept` from just the receiver to be used for anyone that needs to authorize it; e.g., the account provider of the sender might use this choice to confirm that they agree to the transfer being offered to the recipient.
To allow this uniformly, we added a `AllocationInstruction_Accept` choice to confirm the creation of an allocation as well.
To also allow uniformity on the return types, we introduced a uniform `AllocationResult` for `Allocation` choices in line with the *InstructionResult types.
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.Use `Account.id : Text` instead of `Optional Text` to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improve commentary on `AllocationRequest_Accept` to call out that there is no guarantee that wallets call the choice, and thus apps must clean up allocation requests independently
Add an `expiresAt` field to transfer instruction and allocation instruction, so that registries can report and enforce a TTL for instructions that is shorter than the `executeBefore` or the `settlementDeadline` of the underlying transfer or allocation. Registries are expected to bump that TTL on updates to the instruction, so that only long times of inactivity lead to expiry. This extra field allows for standardized garbage collection and avoids hard to remove state leakage for registries.
Remove the `description` and `meta` fields from the `_Custom` actions, as they bloat the representation and can be delivered out of band (or in the view's overall metadata) by the registry if needed.
Improvements to Splice/Utility Functions/Sample Token(s)
These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-0112 text.
Change default implementation of `SettlementFactory_SettleBatch` to check uniqueness of transfer leg ids to provide better safety guarantees for code that identifies legs by their ids
add default implementations for extra observers for `SettlementFactory_SettleBatch` for public and private assets
Consistently use *-v2-1.0.0 for token standard v2 packages
Change version numbers of `splice-api-token-*-v2` packages to `1.0.0` to be consistent with the existing `splice-api-featured-app-v2` package, which also has version `1.0.0`
On Mon, Apr 20, 2026 at 1:57 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Dear Community,
Since originally posting this CIP draft, we received feedback and made some discoveries ourselves on the Token Standard DevNet and have been iterating based on that. The validation and iteration work can be tracked in the V2_Validation.md file. The below is largely a summary and expansion on its contents. The sections are increasingly more detailed as you go down, with all but the top-most sections targeted at those that are knees-deep in coding against the CIP-0112 draft standard.
As you can see there’s a lot going on, and I want to thank all those that engaged in validation and feedback so far. I would like to encourage everyone to provide feedback on this email thread or on the token standard devote Slack channel so it’s visible and available to the whole community.
Kind regards,
Bernhard
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.
- We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
The improvement introduces an EventLog interface, which emits standalone events as side-effect free non-consuming choices, similar to ERC-20 events.
The rationale for this is this:
CIP-0056 tx history parsing relies on events from the TransactionFactory and AllocationFactory interfaces with a fallback to metadata. Both have some shortcomings: Using the factory events means that observing the event means observing all consequences thereof. E.g. to show a receiver of a transfer the TransactionFactory_Transfer event, one would also have to show them the input holding pre-split. Using meta-data requires full transaction tree traversal on the client side rather than being able to rely on a list of filtered events.
It has also been a challenge to get the cross-version-compatibility to work fully on the transaction history-parsing side. If the same factory-choice based approach was adopted in CIP-0112, and one wanted to emit both V1 and V2 events for a transfer, then the V1 choice has to call the V2 choice and vice versa. This circular dependency with the needed switching logic whether the choice is called directly or by the other version is not practical.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.
- Add an explicit AllocationRequest_Accept choice to provide a standard way for wallets to signal acceptance and provide replay protection for the creation of the corresponding allocations. Rather than apps, wallets will have the responsibility to remove AllocationRequest contracts from state. This means that apps should issue one AllocationRequest per trading party and can no longer save costs by emitting one AllocationRequest for all trading parties as was possible in CIP-0056.
- (Planned) The way CIP-0112 proposes to authorize V1 Allocations within a V2 SettleBatch call via extra extraSettlementAuthorizers (discovered from extraReceiptAuthorizers) has proven to not work as intended. Firstly, the complexity introduced is high, but more importantly, the privacy implications were that all traders of a V1 allocation end up seeing the entire V2 batch settlement, defeating a big art of the purpose of CIP-0112. Instead, V2 apps now need to create the receipt Allocations outside the settlement. This is demonstrated in the V2 trading app on the PR for this change.
Open Discussions
- We got feedback suggesting we change the type of `availableActions : Map.Map [Party] [SomeAction]` to `availableActions : Map.Map SomeAction [Party]` as Inverting the lookup direction has proven to be simpler in implementations.
- We (DA) agree, but propose to use type `Map AllocationAction [[Party]]` where the values represent disjunctive normal form. E.g. an entry `(TIA_Accept, [[Alice], [Bob], [Alice, Bob]])` indicates, that either Alice alone, Bob alone, or Alice and Bob jointly can call the Accept choice. Likely this would indicate that if Alice or Bob alone call it, the other party would afterward have to call it as well.
- The original proposers of the improvement have countered with a typed approach consisting of `type ActionsMap = Map.Map AllocationRequestAction SigType` where `data SigType = AnySig [Party] | MultiSig [Party] | FlexiSig [SigType]`, where the equivalent to the above would just be `MultiSig [Alice, Bob]`. The argument is that for many common cases, readability and expression complexity are lower.
- We’d love to hear from the community whether there are any opinions on one versus the other. DA’s position on the above is that the disjunctive normal form strikes a good balance of expressivity and complexity and has the great advantage that authorization checks (Can Alice call this choice?) are simple list element checks (`elem alice availableActions`).
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.
- Replace ChoiceExecutionMetadata with concrete result types for AllocationRequest_Reject and AllocationRequest_Withdraw choices to prepare for an eventual future where interface definitions may be upgraded
- Use authorizerHoldingCids instead of senderHoldingCids in all V2 choice results that return holdings of the allocation authorizer. This is a pure naming change to consolidate terminology around “authoriser” in stead of “sender” for allocations.
- Reordered the HoldingV2.Account fields to put owner first for improved readability of debug output
- Return "holding change" as TextMap [ContractId Holding] where the keys are instrumentId.ids, so that callers can identify the holdings for a specific instrument without needing to fetch the holding.
- Improve commentary on V2.AllocationRequest choices
- Add choice observers to V2.TransferFactory_Transfer. This allows adding informs to the V2.TransferFactory_Transfer event, which can be used to save cost/traffic in some cases.
- Renamed _extraObserverDefaultImpl to _extraObserversDefaultImpl to reflect that it can return multiple observers
- Use Account.id : Text instead of Optional Text to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improvements to Splice/Utility Functions/Sample Token(s)These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-01112 text.
- Add a new Splice.Util.TokenWallet.BatchingUtilityV2 template with choices that implement the standard logic for accepting V1 and V2 requests in a V2 wallet. This template can be used by wallets to create transfers to multiple counterparties in a view- and cost optimised way, or to accept/reject/withdraw offers in bulk.
- Test tokens for V1 and V2 are in the works here. The V2 token in particular is not yet finished, but should be done over the next two weeks.
- Replace buggy netAllocationCreditAmount with netAllocationCreditAmounts that properly distinguishes between legs of different instruments, and a map of credit amounts by instrument id.
- Export 'require' and 'isGreaterOrEqualR' and its variants from Splice.TokenStandard.Utils to simplify writing validation code in choice bodies.
- Extend token standard test infrastructure:
- Add TestTokenV1 to simulate settlement involving V1-only tokens
- Add TestTokenV2 to simulate settlement involving tokens with support for accountable holdings and multiple instruments maintained by the same admin
- Add MultiRegistry to simulate the off-ledger APIs of multiple registries in a single test environment
- Extend TradingAppV2 to support mixed version settlement of trades involving V1-only tokens, and V1/V2 tokens whose allocations are created through either a V1 wallet or a V2 wallet
- Remove redundant Splice.Testing.UtilsV2 module: use Splice.Testing.Utils instead
- Add utility functions to create metadata for V1 transaction history parsing to Splice.TokenStandard.Utils
- (Planned) Move TradingAppV2 into its own package to enable reuse in integration tests.
- (Planned) Merge splice-token-standard-test-v1 and splice-token-standard-test-v2 into a single test package, with separate modules for V1 and V2 tests.
On Thu, Apr 9, 2026 at 9:06 PM Wayne Collier via lists.sync.global <wayne.collier=digitalasset.com@...> wrote:CIP-0112 is now in the CIP repository in Draft state.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted textUpdate: all four PRs have now been merged and will be deployed on TokenStdDevNet next week.On Thu, May 14, 2026 at 4:51 PM Simon Meier via lists.sync.global <simon=digitalasset.com@...> wrote:Note that the last four changes are still being merged into the main token standard branch. You can find the corresponding PRs using this query: https://github.com/canton-network/splice/pulls?q=is%3Aopen+is%3Apr+author%3Ameiersi-da+label%3Adaml-apiOnce these PRs have been merged in the coming days, all of the changes explained by Bernhard can be found on the main integration branch: https://github.com/canton-network/splice/tree/token-standard-v2-upcomingAnd they should land on TokenStdDevNet next week.On Thu, May 14, 2026 at 3:53 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:
Hi all,
Time for another update on Token Standard V2 developments.
Since the last update, we’ve further evaluated the initial designs and worked with participants on further enhancements that I wanted to share. Discussions have shifted from the originally proposed scope to a whole range of further enhancements that have also led to us not yet having put the CIP up for vote at the end of April as originally intended. But with the test token and amulet now fully integrating the enhancements, we are sufficiently confident that the interfaces deliver what they promise. Over the coming week, we expect to finalize the CIP text and then ask for it to be taken to a vote. So if you still have feedback in the pipe, please share it asap so we can work with you to incorporate it.
Kind regards,
Bernhard
Closing out the Open Discussion from the last update
We will change the type of availableActions to availableActions : Map.Map SomeAction [[Party]]. This seems to work well for implementing the TestTokenV2 with highly flexible authorization models.
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.The Token Standard V2 Transaction History Parsing API discussed in the last update has been iterated on to allow event based reporting of all holdings changes and transfers.
This simplifies parsing for wallets: just look for `EventLog_HoldingsChange` events to understand all changes to the holdings of an account
All interfaces are in a new API package `splice-api-token-transfer-events-v2`
This API is fully implemented for Amulet/Canton Coin.
Open and Committed Allocations for Prefunded Trading and Iterated Settlement
One of the inputs we got from multiple sides is around locking and allowing for pre-funded trading. V1 Allocations as well as the initially specified V2 allocations always give the sender the ability to withdraw, and always specify the exact transfer legs that will be executed. This was designed for settlement of executed trades. Yet several venues have emerged on Canton Network that do or want to do pre-funded trading. In the prefunded model, the owner needs to be able to give the venue the ability to specify the transfer legs later and must forego the ability to withdraw the allocation for a duration to avoid settlement failures.
#5333 adds API extensions that allow for open and committed allocations. Full details in the changelogs.
It introduces committed allocations that lock the funds until settlement time.
`RequestedAllocation.committed` lets an app request creation of a committed allocation.
`AllocationSpecification.committed` records that commitment on the created allocation.
if `committed = True`, the authorizer cannot withdraw the allocation before the settlement deadline; if there is no settlement deadline, the authorizer cannot withdraw it at all. The allocation must instead be concluded by settlement, cancellation, or registry-specific expiry.
Allocations can now hold extra funding that can be used in yet to be specified transfer legs.
This is specified in a new field `nextIterationFunding : Optional (TextMap.TextMap Decimal)` that maps from instrumentId to amount.
When set, “iterated settlement” is enabled on the allocation.
The type of `allocations` on SettlementFactory_SettleBatch has been changed to allow the executor to pass in extra transfer legs and new values of nextIterationFunding per input allocation.
Prefunded trading now works as follows, e.g. for CC/FooCoin trading:
User creates a committed allocation with executor “dex” with 100 CC in nextIterationFunding, and no legs specified.
User creates a committed allocation with executor “dex” with 0 FooCoin and an emptyMap in nextIterationFunding.
User trades 30CC for 10 FooCoin.
dex settles by atomically calling SettlementFactory_SettleBatch on both tokens, specifying the two legs, and iteratedSettlementFunding of 70 CC and 10 FooCoin respectively.
The result is new committed allocations with 70 CC / 10 FooCoin. The user can trade again.
Iterated settlement requires disambiguating whether a self-transfer is incoming or outgoing. Therefore AllocationSpecification now doesn’t store a list of TransferLegs, but a list of TransferLegSides, that state whether the Allocation is on the SenderSide or ReceiverSide of the transfer.
This allows merging of committed Allocations by adding self-transfers on both sides, one on the SenderSide and one on the ReceiverSide.
The primary use case is to top up the deposit for prefunded trading.
As committed state and iterated settlement apply per Allocation, there may now be cases where a venue wants to request multiple allocations for the same admin party from a single trader. To allow this, AllocationRequest has been structured to allow requesting a list of Allocations rather than just a list of TransferLegs.
Use of ownerless Accounts to represent special operations like Burns/Mints.
The owner field on Account is now optional.
Special accounts are represented by `Account.owner = None`. These are intended to be used by registries to report burns and mints as transfers. For example:
Registries can use them to allow allocations to encapsulate a burn or mint action, allowing “Delivery vs Mint” or “Delivery vs Burn” settlements.
Or they could use them to enable trade settlement without disclosing the identity of the settlement counterparties.
#5515 makes the API changes and demonstrates use on the TestToken.
Better support for pausing instruments
A global “pause” function is fairly universal in RWAs, but is currently not detectable through the token standard other than via attempted but failed transfers.
The token metadata API was extended to expose a `paused` flag and optional `pauseInfo`, allowing wallets and other clients to detect when an instrument is paused and why.
This was done as a backwards-compatible change to `token-metadata-v1.yaml` to allow both V1 and V2 clients to benefit from this information without needing to upgrade to a new version of the metadata API.
See #5405 for the API changes.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.Remove the need for extra actors to settle V1 allocations.
Drop the need for `extraSettlementAuthorizers` and `extraReceiptAuthorizers` to use allocations created using `V1.AllocationFactory_Allocate` in a V2 settlement.
Motivation: the extra actors on `SettlementFactory_SettleBatch` made it impossible to use V1 allocation with privacy, which was discovered by app providers attempting to implement the compatibility mode.
Key changes:
The `V2.Allocation_Settle` choice always only requires authorization from the `executors` and the instrument `admin`. Apps can thus call `V2.SettlementFactory_SettleBatch` using `executors` authority only.
Apps need to create missing receipt allocations using their own delegation contracts from their traders. See the `TradingAppV2` implementation for an example of how to do this. Also note these of `Splice.TokenStandard.Utils.ensureIsReceiptAllocation` to check that the allocation factory call delegation is for a receipt allocation only.
Asset owners must be aware that allocations created using `V1.AllocationFactory_Allocate` can be settled with only `executor` authority. They must only create allocations for `executors` that they trust to atomically settle trades involving their allocations.
Introduce `AllocationRequest.originalRequestId` and `Allocation.originalAllocationId` fields, which can be used to track the same request or allocation across state updates, analogously to the `originalInstructionCid` of transfer and allocation instructions.
Enhancements resulting from validation of account authorization in TestTokenV2
We added support for managing jointly controlled accounts via a token standard wallet in the reference token implementation to show the power and flexibility of the new Account type and authorization model.
The general approach is that the other party across owner and provider must use the same action to confirm their agreement to an action. The state of pending actions is tracked in the `TransferInstruction`, `AllocationInstruction`, or `Allocation` contracts.
This generalizes `TransferInstruction_Accept` from just the receiver to be used for anyone that needs to authorize it; e.g., the account provider of the sender might use this choice to confirm that they agree to the transfer being offered to the recipient.
To allow this uniformly, we added a `AllocationInstruction_Accept` choice to confirm the creation of an allocation as well.
To also allow uniformity on the return types, we introduced a uniform `AllocationResult` for `Allocation` choices in line with the *InstructionResult types.
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.Use `Account.id : Text` instead of `Optional Text` to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improve commentary on `AllocationRequest_Accept` to call out that there is no guarantee that wallets call the choice, and thus apps must clean up allocation requests independently
Add an `expiresAt` field to transfer instruction and allocation instruction, so that registries can report and enforce a TTL for instructions that is shorter than the `executeBefore` or the `settlementDeadline` of the underlying transfer or allocation. Registries are expected to bump that TTL on updates to the instruction, so that only long times of inactivity lead to expiry. This extra field allows for standardized garbage collection and avoids hard to remove state leakage for registries.
Remove the `description` and `meta` fields from the `_Custom` actions, as they bloat the representation and can be delivered out of band (or in the view's overall metadata) by the registry if needed.
Improvements to Splice/Utility Functions/Sample Token(s)
These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-0112 text.
Change default implementation of `SettlementFactory_SettleBatch` to check uniqueness of transfer leg ids to provide better safety guarantees for code that identifies legs by their ids
add default implementations for extra observers for `SettlementFactory_SettleBatch` for public and private assets
Consistently use *-v2-1.0.0 for token standard v2 packages
Change version numbers of `splice-api-token-*-v2` packages to `1.0.0` to be consistent with the existing `splice-api-featured-app-v2` package, which also has version `1.0.0`
On Mon, Apr 20, 2026 at 1:57 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Dear Community,
Since originally posting this CIP draft, we received feedback and made some discoveries ourselves on the Token Standard DevNet and have been iterating based on that. The validation and iteration work can be tracked in the V2_Validation.md file. The below is largely a summary and expansion on its contents. The sections are increasingly more detailed as you go down, with all but the top-most sections targeted at those that are knees-deep in coding against the CIP-0112 draft standard.
As you can see there’s a lot going on, and I want to thank all those that engaged in validation and feedback so far. I would like to encourage everyone to provide feedback on this email thread or on the token standard devote Slack channel so it’s visible and available to the whole community.
Kind regards,
Bernhard
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.
- We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
The improvement introduces an EventLog interface, which emits standalone events as side-effect free non-consuming choices, similar to ERC-20 events.
The rationale for this is this:
CIP-0056 tx history parsing relies on events from the TransactionFactory and AllocationFactory interfaces with a fallback to metadata. Both have some shortcomings: Using the factory events means that observing the event means observing all consequences thereof. E.g. to show a receiver of a transfer the TransactionFactory_Transfer event, one would also have to show them the input holding pre-split. Using meta-data requires full transaction tree traversal on the client side rather than being able to rely on a list of filtered events.
It has also been a challenge to get the cross-version-compatibility to work fully on the transaction history-parsing side. If the same factory-choice based approach was adopted in CIP-0112, and one wanted to emit both V1 and V2 events for a transfer, then the V1 choice has to call the V2 choice and vice versa. This circular dependency with the needed switching logic whether the choice is called directly or by the other version is not practical.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.
- Add an explicit AllocationRequest_Accept choice to provide a standard way for wallets to signal acceptance and provide replay protection for the creation of the corresponding allocations. Rather than apps, wallets will have the responsibility to remove AllocationRequest contracts from state. This means that apps should issue one AllocationRequest per trading party and can no longer save costs by emitting one AllocationRequest for all trading parties as was possible in CIP-0056.
- (Planned) The way CIP-0112 proposes to authorize V1 Allocations within a V2 SettleBatch call via extra extraSettlementAuthorizers (discovered from extraReceiptAuthorizers) has proven to not work as intended. Firstly, the complexity introduced is high, but more importantly, the privacy implications were that all traders of a V1 allocation end up seeing the entire V2 batch settlement, defeating a big art of the purpose of CIP-0112. Instead, V2 apps now need to create the receipt Allocations outside the settlement. This is demonstrated in the V2 trading app on the PR for this change.
Open Discussions
- We got feedback suggesting we change the type of `availableActions : Map.Map [Party] [SomeAction]` to `availableActions : Map.Map SomeAction [Party]` as Inverting the lookup direction has proven to be simpler in implementations.
- We (DA) agree, but propose to use type `Map AllocationAction [[Party]]` where the values represent disjunctive normal form. E.g. an entry `(TIA_Accept, [[Alice], [Bob], [Alice, Bob]])` indicates, that either Alice alone, Bob alone, or Alice and Bob jointly can call the Accept choice. Likely this would indicate that if Alice or Bob alone call it, the other party would afterward have to call it as well.
- The original proposers of the improvement have countered with a typed approach consisting of `type ActionsMap = Map.Map AllocationRequestAction SigType` where `data SigType = AnySig [Party] | MultiSig [Party] | FlexiSig [SigType]`, where the equivalent to the above would just be `MultiSig [Alice, Bob]`. The argument is that for many common cases, readability and expression complexity are lower.
- We’d love to hear from the community whether there are any opinions on one versus the other. DA’s position on the above is that the disjunctive normal form strikes a good balance of expressivity and complexity and has the great advantage that authorization checks (Can Alice call this choice?) are simple list element checks (`elem alice availableActions`).
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.
- Replace ChoiceExecutionMetadata with concrete result types for AllocationRequest_Reject and AllocationRequest_Withdraw choices to prepare for an eventual future where interface definitions may be upgraded
- Use authorizerHoldingCids instead of senderHoldingCids in all V2 choice results that return holdings of the allocation authorizer. This is a pure naming change to consolidate terminology around “authoriser” in stead of “sender” for allocations.
- Reordered the HoldingV2.Account fields to put owner first for improved readability of debug output
- Return "holding change" as TextMap [ContractId Holding] where the keys are instrumentId.ids, so that callers can identify the holdings for a specific instrument without needing to fetch the holding.
- Improve commentary on V2.AllocationRequest choices
- Add choice observers to V2.TransferFactory_Transfer. This allows adding informs to the V2.TransferFactory_Transfer event, which can be used to save cost/traffic in some cases.
- Renamed _extraObserverDefaultImpl to _extraObserversDefaultImpl to reflect that it can return multiple observers
- Use Account.id : Text instead of Optional Text to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improvements to Splice/Utility Functions/Sample Token(s)These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-01112 text.
- Add a new Splice.Util.TokenWallet.BatchingUtilityV2 template with choices that implement the standard logic for accepting V1 and V2 requests in a V2 wallet. This template can be used by wallets to create transfers to multiple counterparties in a view- and cost optimised way, or to accept/reject/withdraw offers in bulk.
- Test tokens for V1 and V2 are in the works here. The V2 token in particular is not yet finished, but should be done over the next two weeks.
- Replace buggy netAllocationCreditAmount with netAllocationCreditAmounts that properly distinguishes between legs of different instruments, and a map of credit amounts by instrument id.
- Export 'require' and 'isGreaterOrEqualR' and its variants from Splice.TokenStandard.Utils to simplify writing validation code in choice bodies.
- Extend token standard test infrastructure:
- Add TestTokenV1 to simulate settlement involving V1-only tokens
- Add TestTokenV2 to simulate settlement involving tokens with support for accountable holdings and multiple instruments maintained by the same admin
- Add MultiRegistry to simulate the off-ledger APIs of multiple registries in a single test environment
- Extend TradingAppV2 to support mixed version settlement of trades involving V1-only tokens, and V1/V2 tokens whose allocations are created through either a V1 wallet or a V2 wallet
- Remove redundant Splice.Testing.UtilsV2 module: use Splice.Testing.Utils instead
- Add utility functions to create metadata for V1 transaction history parsing to Splice.TokenStandard.Utils
- (Planned) Move TradingAppV2 into its own package to enable reuse in integration tests.
- (Planned) Merge splice-token-standard-test-v1 and splice-token-standard-test-v2 into a single test package, with separate modules for V1 and V2 tests.
On Thu, Apr 9, 2026 at 9:06 PM Wayne Collier via lists.sync.global <wayne.collier=digitalasset.com@...> wrote:CIP-0112 is now in the CIP repository in Draft state.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted text
Dear Community,
I have updated the CIP text to reflect the changes due to the community feedback and resulting additional scope. My previous two update email covered these. You can find the diff for the latest CIP text here: https://github.com/canton-foundation/cips/pull/212/changes
The Splice team has now also incorporated all these additional capabilities into the Token Standard V2 interfaces, Canton Coin Smart Contract models, reference “TestTokenV2”. They have tested the flows, including cross-version, to a degree where they are comfortable that the Token Standard V2 as defined in CIP-0112 is ready to go into the Splice code base. The token standard V2 related code is on branch https://github.com/canton-network/splice/tree/token-standard-v2-upcoming.
For the avoidance of doubt, this is not yet production code ready to be merged to main today, but represents integration work that is far enough advanced to have high confidence that the token standard V2 works as intended.
That means we think it’s ready to take this into the formal governance process. Please let us know whether you are ready to endorse/vote, or whether you need more time to evaluate and provide additional feedback.
Kind regards,
Bernhard
On Thu, May 14, 2026 at 10:24 PM Simon Meier via lists.sync.global <simon=digitalasset.com@...> wrote:Update: all four PRs have now been merged and will be deployed on TokenStdDevNet next week.On Thu, May 14, 2026 at 4:51 PM Simon Meier via lists.sync.global <simon=digitalasset.com@...> wrote:Note that the last four changes are still being merged into the main token standard branch. You can find the corresponding PRs using this query: https://github.com/canton-network/splice/pulls?q=is%3Aopen+is%3Apr+author%3Ameiersi-da+label%3Adaml-apiOnce these PRs have been merged in the coming days, all of the changes explained by Bernhard can be found on the main integration branch: https://github.com/canton-network/splice/tree/token-standard-v2-upcomingAnd they should land on TokenStdDevNet next week.On Thu, May 14, 2026 at 3:53 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Hi all,
Time for another update on Token Standard V2 developments.
Since the last update, we’ve further evaluated the initial designs and worked with participants on further enhancements that I wanted to share. Discussions have shifted from the originally proposed scope to a whole range of further enhancements that have also led to us not yet having put the CIP up for vote at the end of April as originally intended. But with the test token and amulet now fully integrating the enhancements, we are sufficiently confident that the interfaces deliver what they promise. Over the coming week, we expect to finalize the CIP text and then ask for it to be taken to a vote. So if you still have feedback in the pipe, please share it asap so we can work with you to incorporate it.
Kind regards,
Bernhard
Closing out the Open Discussion from the last update
We will change the type of availableActions to availableActions : Map.Map SomeAction [[Party]]. This seems to work well for implementing the TestTokenV2 with highly flexible authorization models.
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.The Token Standard V2 Transaction History Parsing API discussed in the last update has been iterated on to allow event based reporting of all holdings changes and transfers.
This simplifies parsing for wallets: just look for `EventLog_HoldingsChange` events to understand all changes to the holdings of an account
All interfaces are in a new API package `splice-api-token-transfer-events-v2`
This API is fully implemented for Amulet/Canton Coin.
Open and Committed Allocations for Prefunded Trading and Iterated Settlement
One of the inputs we got from multiple sides is around locking and allowing for pre-funded trading. V1 Allocations as well as the initially specified V2 allocations always give the sender the ability to withdraw, and always specify the exact transfer legs that will be executed. This was designed for settlement of executed trades. Yet several venues have emerged on Canton Network that do or want to do pre-funded trading. In the prefunded model, the owner needs to be able to give the venue the ability to specify the transfer legs later and must forego the ability to withdraw the allocation for a duration to avoid settlement failures.
#5333 adds API extensions that allow for open and committed allocations. Full details in the changelogs.
It introduces committed allocations that lock the funds until settlement time.
`RequestedAllocation.committed` lets an app request creation of a committed allocation.
`AllocationSpecification.committed` records that commitment on the created allocation.
if `committed = True`, the authorizer cannot withdraw the allocation before the settlement deadline; if there is no settlement deadline, the authorizer cannot withdraw it at all. The allocation must instead be concluded by settlement, cancellation, or registry-specific expiry.
Allocations can now hold extra funding that can be used in yet to be specified transfer legs.
This is specified in a new field `nextIterationFunding : Optional (TextMap.TextMap Decimal)` that maps from instrumentId to amount.
When set, “iterated settlement” is enabled on the allocation.
The type of `allocations` on SettlementFactory_SettleBatch has been changed to allow the executor to pass in extra transfer legs and new values of nextIterationFunding per input allocation.
Prefunded trading now works as follows, e.g. for CC/FooCoin trading:
User creates a committed allocation with executor “dex” with 100 CC in nextIterationFunding, and no legs specified.
User creates a committed allocation with executor “dex” with 0 FooCoin and an emptyMap in nextIterationFunding.
User trades 30CC for 10 FooCoin.
dex settles by atomically calling SettlementFactory_SettleBatch on both tokens, specifying the two legs, and iteratedSettlementFunding of 70 CC and 10 FooCoin respectively.
The result is new committed allocations with 70 CC / 10 FooCoin. The user can trade again.
Iterated settlement requires disambiguating whether a self-transfer is incoming or outgoing. Therefore AllocationSpecification now doesn’t store a list of TransferLegs, but a list of TransferLegSides, that state whether the Allocation is on the SenderSide or ReceiverSide of the transfer.
This allows merging of committed Allocations by adding self-transfers on both sides, one on the SenderSide and one on the ReceiverSide.
The primary use case is to top up the deposit for prefunded trading.
As committed state and iterated settlement apply per Allocation, there may now be cases where a venue wants to request multiple allocations for the same admin party from a single trader. To allow this, AllocationRequest has been structured to allow requesting a list of Allocations rather than just a list of TransferLegs.
Use of ownerless Accounts to represent special operations like Burns/Mints.
The owner field on Account is now optional.
Special accounts are represented by `Account.owner = None`. These are intended to be used by registries to report burns and mints as transfers. For example:
Registries can use them to allow allocations to encapsulate a burn or mint action, allowing “Delivery vs Mint” or “Delivery vs Burn” settlements.
Or they could use them to enable trade settlement without disclosing the identity of the settlement counterparties.
#5515 makes the API changes and demonstrates use on the TestToken.
Better support for pausing instruments
A global “pause” function is fairly universal in RWAs, but is currently not detectable through the token standard other than via attempted but failed transfers.
The token metadata API was extended to expose a `paused` flag and optional `pauseInfo`, allowing wallets and other clients to detect when an instrument is paused and why.
This was done as a backwards-compatible change to `token-metadata-v1.yaml` to allow both V1 and V2 clients to benefit from this information without needing to upgrade to a new version of the metadata API.
See #5405 for the API changes.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.Remove the need for extra actors to settle V1 allocations.
Drop the need for `extraSettlementAuthorizers` and `extraReceiptAuthorizers` to use allocations created using `V1.AllocationFactory_Allocate` in a V2 settlement.
Motivation: the extra actors on `SettlementFactory_SettleBatch` made it impossible to use V1 allocation with privacy, which was discovered by app providers attempting to implement the compatibility mode.
Key changes:
The `V2.Allocation_Settle` choice always only requires authorization from the `executors` and the instrument `admin`. Apps can thus call `V2.SettlementFactory_SettleBatch` using `executors` authority only.
Apps need to create missing receipt allocations using their own delegation contracts from their traders. See the `TradingAppV2` implementation for an example of how to do this. Also note these of `Splice.TokenStandard.Utils.ensureIsReceiptAllocation` to check that the allocation factory call delegation is for a receipt allocation only.
Asset owners must be aware that allocations created using `V1.AllocationFactory_Allocate` can be settled with only `executor` authority. They must only create allocations for `executors` that they trust to atomically settle trades involving their allocations.
Introduce `AllocationRequest.originalRequestId` and `Allocation.originalAllocationId` fields, which can be used to track the same request or allocation across state updates, analogously to the `originalInstructionCid` of transfer and allocation instructions.
Enhancements resulting from validation of account authorization in TestTokenV2
We added support for managing jointly controlled accounts via a token standard wallet in the reference token implementation to show the power and flexibility of the new Account type and authorization model.
The general approach is that the other party across owner and provider must use the same action to confirm their agreement to an action. The state of pending actions is tracked in the `TransferInstruction`, `AllocationInstruction`, or `Allocation` contracts.
This generalizes `TransferInstruction_Accept` from just the receiver to be used for anyone that needs to authorize it; e.g., the account provider of the sender might use this choice to confirm that they agree to the transfer being offered to the recipient.
To allow this uniformly, we added a `AllocationInstruction_Accept` choice to confirm the creation of an allocation as well.
To also allow uniformity on the return types, we introduced a uniform `AllocationResult` for `Allocation` choices in line with the *InstructionResult types.
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.Use `Account.id : Text` instead of `Optional Text` to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improve commentary on `AllocationRequest_Accept` to call out that there is no guarantee that wallets call the choice, and thus apps must clean up allocation requests independently
Add an `expiresAt` field to transfer instruction and allocation instruction, so that registries can report and enforce a TTL for instructions that is shorter than the `executeBefore` or the `settlementDeadline` of the underlying transfer or allocation. Registries are expected to bump that TTL on updates to the instruction, so that only long times of inactivity lead to expiry. This extra field allows for standardized garbage collection and avoids hard to remove state leakage for registries.
Remove the `description` and `meta` fields from the `_Custom` actions, as they bloat the representation and can be delivered out of band (or in the view's overall metadata) by the registry if needed.
Improvements to Splice/Utility Functions/Sample Token(s)
These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-0112 text.
Change default implementation of `SettlementFactory_SettleBatch` to check uniqueness of transfer leg ids to provide better safety guarantees for code that identifies legs by their ids
add default implementations for extra observers for `SettlementFactory_SettleBatch` for public and private assets
Consistently use *-v2-1.0.0 for token standard v2 packages
Change version numbers of `splice-api-token-*-v2` packages to `1.0.0` to be consistent with the existing `splice-api-featured-app-v2` package, which also has version `1.0.0`
On Mon, Apr 20, 2026 at 1:57 PM Bernhard Elsner via lists.sync.global <bernhard.elsner=digitalasset.com@...> wrote:Dear Community,
Since originally posting this CIP draft, we received feedback and made some discoveries ourselves on the Token Standard DevNet and have been iterating based on that. The validation and iteration work can be tracked in the V2_Validation.md file. The below is largely a summary and expansion on its contents. The sections are increasingly more detailed as you go down, with all but the top-most sections targeted at those that are knees-deep in coding against the CIP-0112 draft standard.
As you can see there’s a lot going on, and I want to thank all those that engaged in validation and feedback so far. I would like to encourage everyone to provide feedback on this email thread or on the token standard devote Slack channel so it’s visible and available to the whole community.
Kind regards,
Bernhard
Functional extensions to the standard
These are proposed extensions to CIP-0112, which will get new top-level sections in the CIP-0112 text.
- We are proposing to add improved transaction history parsing to CIP-0112. There’s a PoC in the works here.
The improvement introduces an EventLog interface, which emits standalone events as side-effect free non-consuming choices, similar to ERC-20 events.
The rationale for this is this:
CIP-0056 tx history parsing relies on events from the TransactionFactory and AllocationFactory interfaces with a fallback to metadata. Both have some shortcomings: Using the factory events means that observing the event means observing all consequences thereof. E.g. to show a receiver of a transfer the TransactionFactory_Transfer event, one would also have to show them the input holding pre-split. Using meta-data requires full transaction tree traversal on the client side rather than being able to rely on a list of filtered events.
It has also been a challenge to get the cross-version-compatibility to work fully on the transaction history-parsing side. If the same factory-choice based approach was adopted in CIP-0112, and one wanted to emit both V1 and V2 events for a transfer, then the V1 choice has to call the V2 choice and vice versa. This circular dependency with the needed switching logic whether the choice is called directly or by the other version is not practical.
Functional Interface Improvements
These improvements are minor, but change the functionality of the proposed standard slightly. These will be reflected in the CIP-0112 text.
- Add an explicit AllocationRequest_Accept choice to provide a standard way for wallets to signal acceptance and provide replay protection for the creation of the corresponding allocations. Rather than apps, wallets will have the responsibility to remove AllocationRequest contracts from state. This means that apps should issue one AllocationRequest per trading party and can no longer save costs by emitting one AllocationRequest for all trading parties as was possible in CIP-0056.
- (Planned) The way CIP-0112 proposes to authorize V1 Allocations within a V2 SettleBatch call via extra extraSettlementAuthorizers (discovered from extraReceiptAuthorizers) has proven to not work as intended. Firstly, the complexity introduced is high, but more importantly, the privacy implications were that all traders of a V1 allocation end up seeing the entire V2 batch settlement, defeating a big art of the purpose of CIP-0112. Instead, V2 apps now need to create the receipt Allocations outside the settlement. This is demonstrated in the V2 trading app on the PR for this change.
Open Discussions
- We got feedback suggesting we change the type of `availableActions : Map.Map [Party] [SomeAction]` to `availableActions : Map.Map SomeAction [Party]` as Inverting the lookup direction has proven to be simpler in implementations.
- We (DA) agree, but propose to use type `Map AllocationAction [[Party]]` where the values represent disjunctive normal form. E.g. an entry `(TIA_Accept, [[Alice], [Bob], [Alice, Bob]])` indicates, that either Alice alone, Bob alone, or Alice and Bob jointly can call the Accept choice. Likely this would indicate that if Alice or Bob alone call it, the other party would afterward have to call it as well.
- The original proposers of the improvement have countered with a typed approach consisting of `type ActionsMap = Map.Map AllocationRequestAction SigType` where `data SigType = AnySig [Party] | MultiSig [Party] | FlexiSig [SigType]`, where the equivalent to the above would just be `MultiSig [Alice, Bob]`. The argument is that for many common cases, readability and expression complexity are lower.
- We’d love to hear from the community whether there are any opinions on one versus the other. DA’s position on the above is that the disjunctive normal form strikes a good balance of expressivity and complexity and has the great advantage that authorization checks (Can Alice call this choice?) are simple list element checks (`elem alice availableActions`).
Minor Interface improvements
These are changes to the interfaces that don’t change functionality, but improve the interfaces in style or futureproofness. These will not be mentioned in the CIP-0112 text unless directly impacting shown code sections.
- Replace ChoiceExecutionMetadata with concrete result types for AllocationRequest_Reject and AllocationRequest_Withdraw choices to prepare for an eventual future where interface definitions may be upgraded
- Use authorizerHoldingCids instead of senderHoldingCids in all V2 choice results that return holdings of the allocation authorizer. This is a pure naming change to consolidate terminology around “authoriser” in stead of “sender” for allocations.
- Reordered the HoldingV2.Account fields to put owner first for improved readability of debug output
- Return "holding change" as TextMap [ContractId Holding] where the keys are instrumentId.ids, so that callers can identify the holdings for a specific instrument without needing to fetch the holding.
- Improve commentary on V2.AllocationRequest choices
- Add choice observers to V2.TransferFactory_Transfer. This allows adding informs to the V2.TransferFactory_Transfer event, which can be used to save cost/traffic in some cases.
- Renamed _extraObserverDefaultImpl to _extraObserversDefaultImpl to reflect that it can return multiple observers
- Use Account.id : Text instead of Optional Text to ensure that wallets do not have to deal with two different kinds of default accounts (empty string vs None). Use "" as the default account identifier.
Improvements to Splice/Utility Functions/Sample Token(s)These are improvements to the code-base beyond the token standard interfaces. These will not be reflected in the CIP-01112 text.
- Add a new Splice.Util.TokenWallet.BatchingUtilityV2 template with choices that implement the standard logic for accepting V1 and V2 requests in a V2 wallet. This template can be used by wallets to create transfers to multiple counterparties in a view- and cost optimised way, or to accept/reject/withdraw offers in bulk.
- Test tokens for V1 and V2 are in the works here. The V2 token in particular is not yet finished, but should be done over the next two weeks.
- Replace buggy netAllocationCreditAmount with netAllocationCreditAmounts that properly distinguishes between legs of different instruments, and a map of credit amounts by instrument id.
- Export 'require' and 'isGreaterOrEqualR' and its variants from Splice.TokenStandard.Utils to simplify writing validation code in choice bodies.
- Extend token standard test infrastructure:
- Add TestTokenV1 to simulate settlement involving V1-only tokens
- Add TestTokenV2 to simulate settlement involving tokens with support for accountable holdings and multiple instruments maintained by the same admin
- Add MultiRegistry to simulate the off-ledger APIs of multiple registries in a single test environment
- Extend TradingAppV2 to support mixed version settlement of trades involving V1-only tokens, and V1/V2 tokens whose allocations are created through either a V1 wallet or a V2 wallet
- Remove redundant Splice.Testing.UtilsV2 module: use Splice.Testing.Utils instead
- Add utility functions to create metadata for V1 transaction history parsing to Splice.TokenStandard.Utils
- (Planned) Move TradingAppV2 into its own package to enable reuse in integration tests.
- (Planned) Merge splice-token-standard-test-v1 and splice-token-standard-test-v2 into a single test package, with separate modules for V1 and V2 tests.
On Thu, Apr 9, 2026 at 9:06 PM Wayne Collier via lists.sync.global <wayne.collier=digitalasset.com@...> wrote:CIP-0112 is now in the CIP repository in Draft state.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - Hello, this is John Antoniou, CTO of Temple Digital Group. I wanted to share our thoughts regarding Token Standard V2.This update to the token standard makes the whole flow much better. We are currently using V1 for our CLOB product and there are many functionalities missing there, which forced us to utilize a delegation contract. The V2 changes solve these missing pieces and will make the need for our delegations obsolete.More specifically, I would love to endorse this update for these specific additions:1. The Iteration API allows us to have a much better housekeeping on our ACS as it will require only 1 allocation per user.2. The ability to "grow" an allocation by adding more incoming legs, this allows our users to just grow their "deposited" trading funds without creating additional allocations (saves transactions, better for ACS)3. The ability to "settle" allocation legs directly, without the need for external contracts. This makes the token standard sufficient for actually settling funds without confirmations on the hot path of the trade.4. The ability to settle trades between more than 1 counterparty. This makes the settlements faster, saving transactions needed on V1, where we needed to do this per user pair.5. The ability for the executor to unilaterally call the Cancel choice on allocations. Helps a lot with housekeeping, especially for expired (non-amulet) allocations.6. The ability to authorize more than one party as executor. This helps a lot in certain situations, for example multiple validators for the same app, without using a multi-host party infra.This is definitely in the right direction and, speaking on behalf of Temple Digital Group, it will make our product(s) much better and faster.The only thing I still see missing, is for the executor to gain visibility on the underlying locked assets.
We have some cases where an AmuletAllocation is still active on ledger, but the underlying LockedAmulet has been removed. The V2 will let us handle this case by exercising Cancel on the allocation, without needing the user's authorization. But its still a handler after the fact.
If we could see this LockedAmulet getting archived on our /updates stream, we could handle this before getting an error from the Scan API's transfer context response, effectively allowing us to cancel such allocations before we try to use them. - Hi John,thanks for the thoughtful feedback. As for your request wrt expiry handling:The only thing I still see missing, is for the executor to gain visibility on the underlying locked assets.
We have some cases where an AmuletAllocation is still active on ledger, but the underlying LockedAmulet has been removed. The V2 will let us handle this case by exercising Cancel on the allocation, without needing the user's authorization. But its still a handler after the fact.
If we could see this LockedAmulet getting archived on our /updates stream, we could handle this before getting an error from the Scan API's transfer context response, effectively allowing us to cancel such allocations before we try to use them.The V2 interfaces expose the expiry time of an Allocation separately from the `settlementDeadline` here: https://github.com/canton-network/splice/blob/30c75481b46088792b05b2f9d910e89dfbe08040/token-standard/splice-api-token-allocation-v2/daml/Splice/Api/Token/AllocationV2.daml#L176-L185For Amulet the lock expires at exactly the same time as the Allocation. Furthermore, the SV apps will automate the archival of the expired allocations. It seems to me that this should solve your problem of having to manage stale Allocations. Do you see it the same, or is someting missing?--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - toggle quoted message Show quoted textHi John,Simon gave a good answer how to deal with expiry, but I think your input may be on the other side: How do you get the Holding create arguments to populate choice context.
If so, our approach is to make the create events visible:
- Each implementation can choose to make interface choices choice visible to the executors by implementing allocation*_*ExtraObservers methods. As a consequence, the creation of the locked holdings is also visible.- Canton Coin follows the default implementation which gives visibility to the executors. I expect most assets will use those defaults.- In iterated settlement the executors observe the creation of the new holdings anyway because they submit the settlement.So by default, you as the venue/executor will always observe the create events so you can index them and use them to build choice context yourself.But note that the standard deliberately does not make any statement about the stability, ease of construction, or cacheability of choice contexts. The choice context is supposed to be an opaque implementation detail of the registry. If you choose to construct choice contexts for USDCx/USDA, or CC, you need to keep a close eye on the implementations and/or test in DevNet/TestNet to make sure you catch any changes.BernhardOn Wed, May 27, 2026 at 12:04 PM Simon Meier via lists.sync.global <simon=digitalasset.com@...> wrote:Hi John,thanks for the thoughtful feedback. As for your request wrt expiry handling:The only thing I still see missing, is for the executor to gain visibility on the underlying locked assets.
We have some cases where an AmuletAllocation is still active on ledger, but the underlying LockedAmulet has been removed. The V2 will let us handle this case by exercising Cancel on the allocation, without needing the user's authorization. But its still a handler after the fact.
If we could see this LockedAmulet getting archived on our /updates stream, we could handle this before getting an error from the Scan API's transfer context response, effectively allowing us to cancel such allocations before we try to use them.The V2 interfaces expose the expiry time of an Allocation separately from the `settlementDeadline` here: https://github.com/canton-network/splice/blob/30c75481b46088792b05b2f9d910e89dfbe08040/token-standard/splice-api-token-allocation-v2/daml/Splice/Api/Token/AllocationV2.daml#L176-L185For Amulet the lock expires at exactly the same time as the Allocation. Furthermore, the SV apps will automate the archival of the expired allocations. It seems to me that this should solve your problem of having to manage stale Allocations. Do you see it the same, or is someting missing?--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. - Hi Simon, thanks for your response.
Indeed, I see expired amulet allocations are getting automatically archived by the AmuletAllocation_DsoExpire choice.Is there something similar for DvpLegAllocations too? - Thanks Bernhard.That would explain how to construct the choice args without hitting the Registry/Scan APIs –thank you!Although since you guys made improvements to the registry api, we no longer have a need to do that. Its pretty fast as it is now.
- toggle quoted message Show quoted textHi all,now that CIP-0112 has been accepted, several people have asked when the final API specs are ready and when their Amulet implementation will land on MainNet. I expect that TSv2 implementation on the feature branch https://github.com/canton-network/splice/tree/token-standard-v2-upcoming will be merged to `main` as part of the Splice 0.6.11 release on July 2nd. At that point the API specifications are considered final and their package-ids won't change going forward.Integrators can however start their integration effort today, as we're in the final phases of reviewing and polishing the Amulet implementation and no changes to the APIs are expected. You can use either LocalNet or the Token Standard DevNet to test the preview of the Amulet implementation (outstanding issues).As can be see from the long term SV operations schedule, Splice 0.6.11 is expected to land on MainNet on July 20th. The new Daml models for Amulet that support TSv2 will then become effective one week later on July 28th. From then on, Amulet supports both TS V1 and TS V2.Note that other asset registries do not have to wait for Amulet to upgrade to TSv2 before they can support it on MainNet. They are free to ship their .dar files with dependencies to the token standard v2 APIs as soon as they are released with Splice 0.6.11 on July 2nd.Kind regards,SimonOn Mon, Jun 8, 2026 at 7:54 PM Justin Peterson via lists.sync.global <justin.peterson=tradeweb.com@...> wrote:Tradeweb would be happy to endorse CIP-0112.Best, Justin--
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message. Echoing the support we’re hearing across multiple teams (Kaiko, Tradecraft/Obsidian, Fairmint, and others), the 5North team is happy to act as SV Sponsor for CIP-0276 and help move it through the CIP process.
Keeping this profile cleanly at the Daml application layerws requires zero changes to the core Canton protocol or Splice infrastructure, builders can start integrating it immediately without waiting on release bottlenecks.
From our perspective across wallet UX, network data indexing, and on-chain identity/credentials, having a single canonical convention for unique asset IDs, soulbound semantics, and metadata pointers makes ecosystem-wide support dramatically simpler.
Y.
Yes, we also support this. Great to see it!
On 11/16/26 15:56, Yiannis Varelas wrote:
Echoing the support we’re hearing across multiple teams (Kaiko, Tradecraft/Obsidian, Fairmint, and others), the 5North team is happy to act as SV Sponsor for CIP-0276 and help move it through the CIP process.
Keeping this profile cleanly at the Daml application layerws requires zero changes to the core Canton protocol or Splice infrastructure, builders can start integrating it immediately without waiting on release bottlenecks.
From our perspective across wallet UX, network data indexing, and on-chain identity/credentials, having a single canonical convention for unique asset IDs, soulbound semantics, and metadata pointers makes ecosystem-wide support dramatically simpler.
Y.
This email and any attachments are confidential and intended solely for the named recipient(s). If you received this message in error, please notify the sender and delete it from your system. Unauthorized use, disclosure, or distribution is prohibited and may be unlawful.- Thanks for the proposal Fairmint! I've gone through it and added full review notes here: https://github.com/canton-foundation/cips/pull/276No major points, but there are several opportunities for polishing that I expect will make the CIP stronger. Let me know if you have any questions about my comments.Kind regards,Simon
Hi all,
Here is an update on the Canton NFT Profile CIP. The review has happened on the GitHub PR, and all feedback is now reflected in the text: #276
Thank you to:
- Simon Meier from DA for the detailed review,
- Andrew Bryan from DRW for the written report, t
- Engin Erdogan from 5North for the implementation interest,
- Ryan Trinkle from Obsidian/Tradecraft for the support,
- Charles Desmonty from Kaiko for the +1 on the PR.
Thanks also to Yiannis Varelas and the 5North team for offering to sponsor, and to everyone who voiced support here. We know that multiple teams have been waiting for it.What changed in response to the feedback we received:
- Package renamed to splice-api-token-non-fungible-v1, to match the other token standard packages.
- Standard text id: cip-<nr>/id:nft/<collectionId>/<tokenId>, so NFT ids are easy to recognize.
- Thinner Nft view: it carries only mode, uniqueness, revocable and supersedes. Identity, owner and content stay in the CIP-0112 HoldingView. Future additions go in cip-<nr>/nft-* metadata keys, with no new package.
- metadata_version removed. Content changes belong to the registry, which recreates the holding and never touches a locked one.
- Soulbound mode tightened: no transfers or allocations except mint offers and burns. A registry must serve the choice contexts for every operation it accepts, and every holding change is reported in exactly one EventLog_HoldingsChange.
- Ids are never reused. A replacement is a new item and may point back with supersedes. Verifiers check the amount (1.0) and that the template is one the registry still publishes, and a registry MAY also offer an off-ledger check that a holding is active.
- Transferable items SHOULD also implement the V1 (CIP-0056) interfaces, so they can trade on as many venues as possible.
- Listing is opt-in, and wallets look up held items by id. Leaving private items unlisted is a deliberate departure from CIP-0056, stated in the compatibility and rationale sections.
- Out of scope for v1: a companion contract for frequently changing data. We're happy to keep discussing this and the listing choice.
We believe the CIP is ready to move into the formal governance process.
5North has offered to act as SV Sponsor, and we're looking for a second Super Validator to endorse it.
We've also asked for it to be added to the Tokenomics Committee agenda as we were not discussed this morning.We also requested a CIP editor to assign a number. If you'd like to endorse, please reply on this thread.
Best,
Joris Delanoue
Fairmint
----------------------------------------------------------------
Full CIP text below for convenience:Canton NFT Profile on Token Standard V2
Abstract
This CIP defines a profile for unique items on Canton Network Token Standard V2. A conforming NFT is a CIP-0112
Holdingwithamount = 1.0, one instrument per item, whose template also implements a thinNftinterface. The profile defines item identity, a soulbound mode, and where an item's content lives. It adds no transfer protocol: transferable items use the CIP-0112 transfer and allocation flows. A balance greater than1.0is a fungible instrument, not an NFT.Copyright
This CIP is licensed under CC0-1.0: Creative Commons CC0 1.0 Universal. Reference code is licensed under Apache-2.0.
Specification
1. Terms
Term Meaning Item One non-fungible asset. Registry The party that issues items and is the CIP-0056 instrumentId.adminfor each of them.Collection A named group of items under one registry sharing a tokenIdnamespace.Operator A party other than the registry that signs a holding or a registry contract alongside it, such as an independent co-signer of issuance. Account provider The providerof a CIP-0112 account, such as a custodian.Conforming NFT A CIP-0112 Holdingcontract that implements theNftinterface and meets every normative requirement of this CIP (section 11).Transferable mode The holder may move the item through the CIP-0112 transfer and allocation flows. Soulbound mode The holder cannot transfer or allocate the item. 2. Packages
The profile is one pinned interface package, named and laid out like the Splice token-standard packages it builds on.
Package Module Contents splice-api-token-non-fungible-v1Splice.Api.Token.NonFungible.V1Nftinterface and its types (section 8)The package depends on
splice-api-token-holding-v2forInstrumentId. Metadata is the extension point: a later version of this profile adds information ascip-<nr>/nft-*keys (section 7), which takes an amendment to this CIP and no new package. Only a new typed field in the view ships assplice-api-token-non-fungible-v2, because Daml interface packages are not changed in place. A template implements the current version and MAY implement earlier ones alongside it.3. Identity
An item's identity is its CIP-0056
InstrumentId.instrumentId.adminis the registry party, andinstrumentId.idnames the collection and the item:collectionIdnames a collection under the registry party, andtokenIdnames one item in that collection. The registry assigns both, and both MUST be non-empty.collectionIdMUST NOT contain/, so the id splits at the first/after the prefix;tokenIdMAY contain/. The registry checks this when it builds an id from its parts: once built, the id of collectiona/band token1is also the id of collectionaand tokenb/1. Ids are compared as UTF-8 bytes, with no Unicode normalization, so two ids that look the same and differ in bytes are different ids. Example:cip-<nr>/id:nft/posters/7. The prefix tells a reader where the format is defined. Transfer, lock, and any recreation of the holding MUST preserve the instrument id. Burn and revocation end the item.Verification
A verifier checks the holding's signatories and
instrumentId.adminagainst the registry and operator parties it trusts, and checks that the holding implementsNft, that its amount is1.0, and thatinstrumentId.idhas the form above. The created event names the holding's template, and the verifier checks that template id against the template ids the registry publishes (section 6). The id names the item inside that party's namespace; it is not a proof of authenticity on its own.Uniqueness
A registry MUST NOT have two active holdings of the same instrument (section 4). It MAY declare how it upholds this in
NftView.uniqueness:Value Meaning enforcedIssuance MUST fail on-ledger if the instrument id was ever issued, checked against a uniqueness record that the registry and any operator signatories sign. policyThe check is an off-ledger registry undertaking. If
uniquenessis absent, no claim is made about how. A per-collection contract that records every id issued, read and updated by the issuing choice, is one way to enforce it. Canton has no contract keys, so the ledger cannot prove that a registry keeps only one such record; operator signatures make a second record visible to the operators (security consideration 1). A registry SHOULD fix a collection's uniqueness when it first issues in it, so that every item of the collection declares the same value; otherwise an item declaredpolicycould duplicate an id the record holds.A registry MUST NOT issue an instrument id again after its item is burned or revoked. A replacement is a new item with a new id, which MAY set
NftView.supersedes(section 6). Underenforced, creating the mint offer is the step that fails when the id was ever issued, including when an offer for that id is already open. The id stays issued if that offer is rejected, withdrawn, or lapses.Identifier privacy
instrumentId.idand the instrument entry'snameandsymbolreach every party the item is shared with, and they are public when the registry lists the item (section 9). They MUST NOT contain personal data or an identifier of a holder or account. AtokenIdMAY name the item (a serial, a title, a name with an issuance number). For an item the registry does not list, thetokenIdSHOULD be unguessable unless the registry answers a lookup only for callers it has authorized to read that item (section 9).4. Instruments and holdings
Each item is one CIP-0056 instrument and exactly one holding of
amount = 1.0, with the instrument id of section 3. Supply per instrument is 0 or 1. Every instrument entry MUST setdecimalsto0.HoldingView.account.ownerMUST beSome, and that party is the item's owner. A holding that implements only the CIP-0056 V1 interfaces does not conform.The template exposes no split, merge, or partial-transfer choice. Every transfer or allocation of an existing item is for amount
1.0with one input holding. A mint offer has no input holding. Burn is a transfer of1.0to the CIP-0112 burn account where the registry accepts it.5. Transfer and mode
Mode is
transferableorsoulbound, fixed for the life of the item, and reported inNftView.mode.In transferable mode the registry MUST expose the CIP-0112 transfer factory, and the CIP-0112 allocation factory if allocation is supported. Delivery versus payment uses the CIP-0112 allocation flow; each item appears as amount
1.0on its leg. Each allocation settles its own account, so the registry carries the item's content from the sender's allocation to the receiver's: the receiver's holding MUST keep the instrument id,meta, andNftview, as after a transfer. A transferable item SHOULD also implement the CIP-0056 V1 interfaces, as CIP-0112 section 5.1 recommends, so it trades on venues and wallets that support only V1.In soulbound mode the registry MUST NOT allow a transfer or allocation of the item other than a mint from, or a burn to, the CIP-0112 special accounts (
CIP-0112/mint,CIP-0112/burn; CIP-0112 section 4.3.2.1) that the registry accepts. Every other transfer or allocation MUST fail, including on a factory the registry also uses for other instruments. Mint offers and burn requests are transfer offers, so the registry MAY expose the transfer factory for them. The instrument'ssupportedApisSHOULD list only the APIs its mints and burns use. CIP-0056 permits a registry to omit an API, and the instrument entry records which APIs that instrument uses. A burn request uses the same transfer API as an ordinary transfer, sosupportedApiscannot tell a wallet that only burns succeed: a wallet that readsNftView.modeSHOULD offer no transfer of a soulbound item other than a burn, and one that does not may offer a transfer the registry then refuses.In either mode, a registry MUST serve, through the CIP-0056 off-ledger APIs, the choice contexts for every transfer, allocation, mint offer, and burn request it accepts. Whether a holder may burn an item is registry policy.
Every change to an item's holding, including a mint, transfer, settlement, burn, revocation, or a content change that recreates it, MUST be reported as CIP-0112 section 5.1 requires for any holding: each create and each archive of a holding is represented in exactly one
EventLog_HoldingsChangeevent (splice-api-token-transfer-events-v2), an event of that holding's account. A holding created and archived in the same transaction is reported for both.6. Issuance and revocation
Issuance mechanics are registry-defined. A mint SHOULD be a transfer offer from the mint account (CIP-0112 section 4.3.2.1) that the recipient accepts through the ordinary transfer-instruction flow. A registry SHOULD require an independent operator signatory on issuance and publish its registry and operator parties and the template ids it issues from.
A registry MAY declare in
NftView.revocablewhether it can burn the item without the owner's authority. The declaration states intent; it is not a ledger guarantee. A revocation or burn SHOULD carry a human-readablesplice.lfdecentralizedtrust.org/reason(CIP-0056). A new item MAY setNftView.supersedesto the instrument id it replaces.7. Metadata and content
Content is off-ledger. The holding carries identity, content URIs, and an optional hash. The URIs live in
Holdingmeta, so token-standard wallets that do not implement theNftinterface can still display the item. Wallets SHOULD rendercip-<nr>/nft-image, or else theimageof the document atcip-<nr>/nft-uri, and SHOULD showcip-<nr>/nft-nameas the item's name. The instrument entry'snameSHOULD equal it.Key Presence Value cip-<nr>/nft-nameRequired Display name of the item cip-<nr>/nft-descriptionOptional Short description cip-<nr>/nft-imageRecommended URI of a public rendering cip-<nr>/nft-uriRecommended URI of a metadata document; RECOMMENDED to follow the ERC-721 metadata JSON schema ( name,description,image,attributes)cip-<nr>/nft-content-hashOptional Hash of the bytes at cip-<nr>/nft-uri, hex with an algorithm prefix (sha256:)cip-<nr>/nft-confidentiality-refOptional URI of access-controlled off-ledger content (see below) cip-<nr>/nft-*keys not defined here are reserved for later versions of this profile and SHOULD NOT be written. Keys under other prefixes are free, following the CIP-0056 prefix rule. Transfer, allocation, and lock MUST copymetaunchanged.Content behind
cip-<nr>/nft-confidentiality-refis access-controlled by the registry and is not part of the holding: it MAY change without recreation, including while the holding is locked, andcip-<nr>/nft-content-hashdoes not cover it.A registry MAY change an item's content by recreating its holding, as it can for any holding. This profile does not require it to let the owner do so. The new holding MUST keep its instrument id, mode,
uniqueness,revocable,supersedes, andHoldingView.account. The registry MUST NOT recreate a locked holding: a relative lock measures its deadline from the holding's creation, which recreation would reset.8. The
NftinterfaceThe data types derive
Serializable, so the package builds with--explicit-serializable=yes, as the Splice token packages do.The same template implements CIP-0112
HoldingandNft;NftrequiresHolding, so the compiler checks it. TheNftview carries only whatHoldingdoes not: identity, owner, and content stay inHoldingView(instrumentId,account.owner, andmeta). Prose in this CIP names constructors by their lowercase suffix (soulbound,enforced).The interface defines one choice,
Nft_PublicFetch, and it only reads. Daml authorizes afetchonly when a stakeholder of the contract is among the authorizers, so a party that is not a stakeholder reads a disclosed item through a choice it controls, as with the token standard's*_PublicFetchchoices (section 9). As there, "public" means that any party the contract is disclosed to may call it; it does not make the item public, and the holding's stakeholders decide whom to disclose it to. The body is defined in the interface, so the result comes from the ledger and the template's views, with no further implementation code.9. Privacy and listing
An item is private unless its registry lists it. Each item is its own instrument (section 4), so a list of a registry's instruments is a list of its items: it discloses that each item exists, how many items a collection has, and their token ids. Active holdings SHOULD be visible only to the owner, the account provider, the registry, any operator signatory, and the parties CIP-0112 requires for locks and pending instructions. Holder enumeration is out of scope.
Listing and lookup
A registry is not required to return an item from
GET /registry/metadata/v1/instruments, and SHOULD list only items it means to be publicly discoverable, such as a collection offered on venues. The listing pages but has no filter, so a reader browsing one collection pages through every listed item of the registry. The id prefixcip-<nr>/id:nft/<collectionId>/is a natural filter for a later revision of the metadata API.Reading one item does not need the listing, and
listInstrumentsomits unlisted items, so a wallet SHOULD look up each held instrument by id. A wallet reads its own items through the Ledger API and looks up each instrument withGET /registry/metadata/v1/instruments/{instrumentId}, percent-encoding the id because it contains/. A registry SHOULD answer that lookup whether or not it lists the item, so wallets can readdecimalsandsupportedApis. An unlisted item's id is known only to the holding's stakeholders and the parties they share the item with, and it protects the entry as a contract id protects the other CIP-0056 registry endpoints. A registry MAY instead answer a lookup only for callers it has authorized to read that item. Authenticating the caller is not enough: another authenticated caller could still probe a guessable id. Such a registry MUST answer any other caller the same way whether or not the item exists, or the refusal itself confirms a guessed id. CIP-0056 standardizes no authentication scheme, so wallets that do not support the registry's own cannot read the entry. A wallet that cannot read the entry SHOULD render the item from itsHoldingmetadata (section 7) and treatdecimalsas0.Sharing an item
Listing an item shares its existence and identity. It does not share a holding. To show a holding to a party that is not a stakeholder, a stakeholder hands them the holding's created event, sent off-ledger. The stakeholder MUST include the created-event blob and the computed
HoldingandNftinterface views, and requests them explicitly, because the default event filter omits them. TheHoldingview renders the item, theNftview gives its mode, the party lists carry the signatories that section 3 checks, and the blob authenticates the contract: the recipient attaches it to a command submission as a disclosed contract (Canton explicit disclosure). The shared views are rendering copies; verification does not trust them. The recipient exercisesNft_PublicFetchon the disclosed contract with itself as the actor, from a Daml Script or a command on its own participant, and the ledger computes the views and signatories from the authenticated contract. A plainfetchwould fail, because the recipient is not a stakeholder. The recipient's participant must have vetted the item's template package. The recipient then renders and verifies the item per section 3, and neither the registry nor the holder submits anything. The transaction still needs confirmation from the participants hosting the holding's signatories, so those must be online, and the signatories see the check and who made it. It also costs the recipient a transaction's traffic. A registry MAY also offer an off-ledger check that a holding is active; this profile does not standardize one, and such a check relies on trusting the registry, since Canton has no third-party proof yet that a contract is active.A shared created event is a snapshot: later content changes or transfers are not visible to the recipient, and they archive the holding, so verification by explicit disclosure works only while the shared contract is active. Verifying the item afterwards takes a fresh created event from the current holding. The event carries the full template arguments and party lists, which can hold fields the
NftandHoldingviews do not expose; the sender reviews the event before sharing it. Adding observers to a holding to share it is not part of this profile; it would widen visibility beyond the parties listed above.10. Use cases (informative)
Use case Conforming configuration One-of-one art, or a numbered edition Each copy is its own tokenIdand its own holding of1.0.Interchangeable copies as a balance greater than one Not this profile. One CIP-0056 instrument with decimals = 0and amount equal to the supply.Ticket redeemed Burn the ticket, or issue a soulbound pass at the door. Membership, badge, or a credential the holder shows as an item Soulbound. revocableset if the issuer may cancel.An attestation about a party that an app only checks and that has no economic terms or lifecycle of its own, such as a published service URL or eligibility to hold an asset Not this profile. License or entitlement that the registry issues, amends, and revokes, such as a data license Soulbound, revocableset,uniquenessenforced. The licensee is the owner and signs nothing; only the registry revokes the license or changes its terms. Terms change by recreating the holding (section 7).Item whose existence is confidential Not listed (section 9). License or name issued again after a burn or revocation A new item with a new id that carries supersedes.Issuer inventory, later sold Mint to the registry's own party, then transfer. Lost key Revoke, then issue a new item that carries supersedes.Updated picture or attributes The registry recreates the holding with new content keys (section 7). Airdrop A mint offer the recipient accepts. Marketplace trade A token-standard transfer or allocation. Listings, escrow, and royalties are out of scope. Regulated certificate Soulbound, revocableset.Item that records a quantity, such as a share count, face value, or seat count The quantity is content under the registry's own metadata prefix. The holding's amount stays 1.0.Item that must settle against payment between holders Transferable mode. A soulbound item is allocated only for a mint or a burn, so it can be paid for at issuance and not resold. 11. Conformance
An implementation conforms if it satisfies every normative requirement in this CIP. The conformance suite published with the reference implementation tests the on-ledger requirements.
Motivation
CIP-0056 gives wallets one way to hold and transfer assets without depending on the template behind them. CIP-0112 adds accounts, mint and burn accounts, and a mint offer the receiver accepts. Neither defines item identity, per-item content, or a non-transferable mode. Two issuers who each put
amount = 1.0on a holding do not interoperate on those points.A transferable item is worth most when every venue and wallet that handles token-standard assets can trade it. Building on CIP-0112, plus the V1 interfaces where a registry adds them, gets it there with no marketplace-specific protocol. Collectibles, tickets, memberships, licenses, domain names, and regulated certificates are different choices on this profile, not different standards.
Rationale
A profile on Token Standard V2
The profile reuses CIP-0112's holding and transfer surfaces and adds identity, mode, and content. A second transfer protocol would make token-standard wallets blind to these assets. A V1-only holding does not conform. A conforming NFT can and should also implement CIP-0056: V1 wallets and venues see it when it implements the V1 interfaces, which CIP-0112 section 5.1 and section 5 here make a SHOULD for transferable items. The profile does not raise that to a MUST, so V2-only registries and soulbound items, which never trade, can conform.
One instrument per item
amount = 1.0and a ban on split and merge make a holding an item rather than a balance. Each item is its own instrument because a token-standard transfer or allocation leg names an instrument and an amount, not an item: if several items shared one instrument, a wallet that is not NFT-aware could move the wrong holding, and CIP-0112 net settlement could complete a 1.0-for-1.0 exchange with no holdings moving. The cost is that a registry's instrument list would show every item, including how many items a collection has and their token ids. Listing is therefore the registry's choice (see "Private by default").Identity in the instrument id
Wallets and explorers show instrument ids as text. Putting the collection and token ids in
instrumentId.id, behind a prefix that names this CIP, makes the item readable wherever the id appears and leaves one identity for readers to check. TheNftview therefore does not repeat identity, owner, or content, and needs no rules to keep copies equal.Declarations are intent
uniqueness,revocable, andsupersedesstate what the registry undertakes. They are not ledger proof: a package owner can add a choice in a later version, and Daml cannot prove which choice created a holding. On-ledger uniqueness is optional because the record it needs has a cost. Mode is fixed per item so a soulbound declaration stays true. An id is issued once so that a reference to it, such assupersedesor a record kept outside the ledger, never comes to mean a different item. TheNftinterface defines one choice, and it only reads. Transfer, allocation, and burn use CIP-0112. Revocation and content changes stay on the template.Soulbound items
A soulbound item is a holding. It has an instrument, an amount of
1.0, content a wallet renders, and an identity that issuance, burn, and revocation act on. Use this profile when the thing is an item in its own right: it is issued to an owner, appears in that owner's wallet as an asset, and is amended or revoked as one unit. A certificate of a registered position and a license with its own terms are examples. An attestation about a party that an application only checks and that has no economic terms or lifecycle of its own, such as eligibility to hold an asset, is outside this profile.Private by default
CIP-0056 expects registry metadata to be public, and its metadata API describes
listInstrumentsas listing every instrument of the registry. That fits fungible assets, where an instrument is an asset class and the list says nothing about holdings. Under this profile each item is its own instrument with a supply of 0 or 1, so the list enumerates holdings, which CIP-0056 shares on a need-to-know basis. A registry of certificates or licenses often cannot publish how many it has issued. Listing is therefore a disclosure the registry chooses. Lookup by id stays open because CIP-0056 already protects its other registry endpoints with identifiers that are hard to guess, and a wallet never needs the list: it reads holdings from the Ledger API and looks up each instrument by id.The metadata key prefix
CIP-0056 asks for metadata keys to carry a DNS-subdomain prefix that identifies the organization defining them, so keys from different sources do not collide. This profile uses its own CIP number,
cip-<nr>/, as CIP-0112 does withCIP-0112/and as other in-flight Standards Track drafts do, and the same prefix starts its instrument ids. It is a valid DNS label that names the defining document rather than a company. Any registry may write the keys.Rejected alternatives
- Metadata only, with no interface. Content already lives in metadata, so wallets that know only
Holdingdisplay items. The interface adds what metadata cannot.Holdingdefines no choices, so metadata alone leaves a party that is not a stakeholder no on-ledger way to read a shared item;Nft_PublicFetchgives it one (section 9). Apps and wallets find NFTs with one Ledger API interface filter onNftinstead of reading every holding and parsing its metadata, and Daml workflows such as escrow, settlement, or a certificate check read mode and uniqueness as typed values instead of parsing text. - A typed
NftIdwith a length-prefixed text form. It is unambiguous for any characters, but it repeats the instrument id, needs rules to keep the copies equal, and reads poorly where ids are shown. - A company domain as the key prefix. A company name does not belong in a network standard.
- One instrument per collection with many holdings. See "One instrument per item".
- Mandatory on-ledger uniqueness. It is an issuer policy with a visible cost.
- Semi-fungible balances. The token standard already represents them.
- A V1-only conformance path. A holding that implements only CIP-0056 would be a second holding shape for the same profile.
Scope
Marketplace listings, offers, escrow, royalties, interchangeable balances greater than one, changing mode after issuance, validity periods, conditions on who may receive a transfer, and collection-level metadata such as a collection name or edition size are out of scope. A registry carries them under its own metadata prefix or in its own contracts. An existing CIP-0112 holding adopts the profile by meeting its requirements.
Backwards compatibility
The profile adds one interface package to the token-standard packages and changes nothing in CIP-0056, CIP-0112, or any deployed asset. A registry that leaves its items out of
listInstrumentsdeparts from the CIP-0056 expectation that registry metadata is public (see "Private by default"). V1 wallets see a conforming asset when the CIP-0112 section 5.1 interfaces are implemented.Reference implementation
The Daml reference implementation is built on CIP-0112. It has the
Nftinterface package, a reference registry, a soulbound certificate built on the profile, and the conformance suite of section 11. The registry covers mint offers, transfers in one or two steps (V2 and V1), allocations settled in batches, soulbound items, burns, revocation, content changes, and enforced uniqueness. The suite is not complete yet: it does not cover iterated settlement, allocations of mints and burns, or holdings created and archived in one transaction. It will be completed and published with built packages before this CIP isFinal.Security considerations
- Off-path creation. Daml cannot prove which choice created a holding. An independent operator signatory on issuance, and published registry and operator parties, let verifiers check the signatory set (section 6). Published template ids let a verifier reject a holding from a template the registry no longer issues (section 3).
- Uniqueness record growth. Under
enforceduniqueness, the on-ledger record keeps every id issued, including burned and revoked ones, so it only grows, and concurrent issuance serializes on it. Shard if needed. - Registry authority. A set
revocableflag means the registry can burn the item without the owner's signature. Buyers of such items trust the registry with that power. - Unlisted items. Leaving an item out of the listing hides it from enumeration, not from a party that learns its id. A registry that answers a lookup without checking that the caller may read that item, or that refuses differently for an item that exists and one that does not, confirms a guessed id (sections 3 and 9).
References
- CIP-0056: Canton Network Token Standard
- CIP-0112: Canton Network Token Standard V2
Splice.Api.Token.HoldingV2:HoldingView,Account,InstrumentIdSplice.Api.Token.TransferInstructionV2:TransferFactory,TransferInstructiontoken-metadata-v1.yaml: instrument listing, per-instrumentsupportedApisanddecimals- ERC-721 metadata JSON schema: the document format recommended for
cip-<nr>/nft-uri
A quick addition to my previous message, to be more precise in the acknowledgements:
- Ryan Trinkle from Obsidian/Tradecraft, for the implementation support on LP positions in AMMs.- Charles Desmonty from Kaiko, for the +1 on the PR & the implementation support on licensing/IP NFTs.Thanks again to everyone for the support.
Hi all,
Obsidian would like to endorse this CIP (sponsored by 5North).
Best,
Ryan
On 11/25/26 17:49, Joris D. via cip-discuss wrote:
- I want to re-state that we are still sponsoring this after the updates that were made.
- Liberty City Ventures endorses this CIP