feat(canton): run local stack on splice localnet#83
Draft
nicosampler wants to merge 99 commits into
Draft
Conversation
… input, close on send
Classify active transfer instructions by sender so the wallet that sent a transfer sees it as awaiting acceptance instead of an Accept button, which only the receiver gets. Count only incoming transfers toward the tab badge, drop the Incoming transfers heading, and merge transfer history into the Transfers tab while keeping the rest of the activity log under Activity.
…y in activity Revert the transfer-history merge: the Transfers tab again shows only active incoming and outgoing transfers, and the full transaction log including transfers returns to the Activity tab. The direction-aware rendering and incoming-only badge are retained.
A transfer is outgoing only when sent to a different party; a transfer to one's own party stays incoming so the receiver can still accept it. Make the accept props optional on the transfer card and label each card by direction.
Selecting the account you are already on does nothing, so the switcher now lists only the other accounts and shows a dedicated empty message when there are none.
…fers tab Move incoming/outgoing classification into a reusable transferDirection helper in cip56/transfers, simplify the transfers tab empty/list rendering and accept callback, and fold the account switcher filter into a single pass.
…her exclusion Describe the transfers tab splitting pending transfers by direction via transferDirection, the active account being omitted from the switcher, and the pending list spanning both directions.
Add a shared LoadingState spinner and render it in the Assets and Transfers tabs while their first fetch is in flight, instead of leaving the body blank.
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.
Summary
No related issue. Move the local Canton stack onto Splice LocalNet so Carpincho can exercise CIP-56 token flows against a closer production shape.
This replaces the custom barebones participant wiring with the official Splice LocalNet app-user/SV stack, then extends wallet-service and Carpincho around CIP-56 holdings, transfers, and Amulet preapproval flows.
Changes
canton-bareboneson Splice LocalNet with app-user/SV services, explicit backend tokens, updated health checks, and DAR deployment helpers.scripts/dev-stack.shhelper.Acceptance criteria
svandapp-userprofiles.Test plan
Automated tests
Added or updated tests under:
canton-barebones/test/*.test.mjscanton-barebones/wallet-service/test/*.test.tscarpincho-wallet/test/**/*.test.tscarpincho-wallet/test/**/*.test.tsxCommands:
npm --prefix canton-barebones testnpm --prefix canton-barebones/wallet-service testnpm --prefix carpincho-wallet testManual verification
npm run canton:upnpm run canton:healthBreaking changes
None.
Checklist
Screenshots
None.