feat: multi sync example#1622
Open
Viktor-Kalashnykov-da wants to merge 25 commits into
Open
Conversation
jarekr-da
reviewed
Apr 17, 2026
jarekr-da
reviewed
Apr 17, 2026
jarekr-da
reviewed
Apr 17, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
reviewed
Apr 21, 2026
jarekr-da
requested changes
Apr 21, 2026
jarekr-da
reviewed
Apr 22, 2026
Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
… from docs/wallet-integration-guide/examples/package.json Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
…nRules Contract to usage of 2 contracts of the same type but on different synchronizers Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
…edBefore and validUntil fields Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
…r in the final step Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
…ntation for example #15 Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
…mespace/state/client (and utility type as well) Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…rated dar files Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…ple utils Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
- Restore State import and property in LedgerNamespace - Restore reassign method and ReassignParams in internal ledger namespace - Restore splice-test-token-v1-1.0.0.dar bundled with the example - Simplify _setup.ts: only vet TestTokenV1 DAR (trading-app is already vetted by Splice on startup and replicated by app-synchronizer.sc) Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
563df2d to
98dfc85
Compare
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
e3da87a to
51db02f
Compare
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
289a3a1 to
a4ec492
Compare
Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-Synchronizer DvP Example - On ledger API - Part 1
Showcaces automatic reassignment of Token from private synchronizer to global one
There are 2 follow up PRs (wip)
Technical limitations:
In this PR we introduce separate tests for multi-sync (otherwise regular tests are flaky on multi-sync) - that split will be removed in a separate PR (above)
New example script:
docs/wallet-integration-guide/examples/scripts/15-multi-sync-trade.ts
Note on explicit reassignment
we experimented with automatic reassignment of contracts - and it basically worked BUT.
It worked as long as
Bobis owner ofTokenRulescontract which seems unrealistic.We introduced TokenAdmin as additional party that is issuer of
Tokenonapp-synchronizer(private one).But this in fact forces us to use explicit reassignment.