Skip to content

feat: add state inspection, split routing, and privacy primitives - #497

Merged
Just-Bamford merged 2 commits into
Sorokit:mainfrom
Hahfyeex:main
Aug 27, 2026
Merged

feat: add state inspection, split routing, and privacy primitives#497
Just-Bamford merged 2 commits into
Sorokit:mainfrom
Hahfyeex:main

Conversation

@Hahfyeex

Copy link
Copy Markdown
Contributor

Summary
This pull request combines the four requested Sorokit core improvements:

Adds typed Soroban contract state snapshots, deterministic state digests, key-level added/removed/changed diffs, and an invocation inspection wrapper.
Adds a safe ScVal argument optimization layer that canonicalizes repeated values, preserves positional semantics, reports encoding statistics, and is integrated into prepareContractCall.
Adds a deterministic multi-path strict-receive split planner that ranks quoted routes by effective source cost, respects route capacities, and returns executable payment legs with structured liquidity errors.
Adds browser-compatible zero-knowledge proof infrastructure with claim commitments, proof envelopes, selective-disclosure metadata, and pluggable verification for private transaction validation.
Tests and validation
New focused Vitest suite passes: 7 tests passed.
ESLint passes for all changed TypeScript files.
git diff --check passes.
Full npm run typecheck reaches only pre-existing strict-null errors in src/soroban/nftMetadata.ts, src/transaction/bundles.ts, and src/transaction/priceSubscriptions.ts.
The bundle’s JavaScript build succeeds, but declaration generation is blocked by the pre-existing nftMetadata.ts error; this is documented here rather than changed as unrelated scope.
Closes #469
Closes #462
Closes #463
Closes #466

Hahfyeex and others added 2 commits August 27, 2026 13:38
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@Hahfyeex Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Just-Bamford
Just-Bamford merged commit 7350402 into Sorokit:main Aug 27, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants