Skip to content

feat(sdk-coin-sol): add v1 confidential transfer build, ops, example - #9809

Merged
bhavidhingra merged 1 commit into
masterfrom
bhavi/chalo-1602-pr2-ct-v1
Sep 29, 2026
Merged

bhavidhingra merged 1 commit into
masterfrom
bhavi/chalo-1602-pr2-ct-v1

Conversation

@bhavidhingra

@bhavidhingra bhavidhingra commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds Solana v1 (SIMD-0296/0385) confidential transfer support to @bitgo/sdk-coin-sol: build v1 CT transactions, cover all CT operations, and broadcast them on-chain. (Consolidated from PRs #9810 and #9811.)

Changes

  • confidentialTransferBuilder.ts: assemble v1 confidential transfer transactions — compileTransactionMessage({version:1,...}) (plain-TS serializer) + serializeWireTransaction to produce the v1 wire envelope (0x81 prefix, transactionConfig, base64 form).
  • transaction.ts / transactionBuilder.ts: v1 serialization/version wiring so CT transactions build as v1.
  • transactionBuilder/confidentialTransferV1Ops.ts: tests covering the remaining CT operations in v1 (Transfer, Deposit, ApplyPendingBalance, Withdraw, proof verification) plus ApplyPendingBalance ordering.
  • examples/ts/sol/sdk-ct-v1-broadcast.ts: example that builds and broadcasts an SDK-built v1 confidential transfer.
  • transactionBuilder/confidentialTransferV1.ts: v1 CT transaction build tests.

Notes

Refs: CHALO-1602

@bhavidhingra
bhavidhingra requested a review from a team as a code owner September 24, 2026 08:33
@linear-code

linear-code Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

CHALO-1602

@bhavidhingra
bhavidhingra added this pull request to stack #9819 September 25, 2026 08:15
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from 9cf3baa to c215985 Compare September 25, 2026 08:16
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-solana-ct-sdk-v1-assembly branch from ff6ce6f to 8af8a46 Compare September 25, 2026 08:30
@bhavidhingra
bhavidhingra requested review from a team as code owners September 25, 2026 08:30
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch 2 times, most recently from cbe4430 to f659c42 Compare September 25, 2026 09:31
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-solana-ct-sdk-v1-assembly branch from 789d6c3 to 8b6a8e3 Compare September 25, 2026 13:48
@bhavidhingra
bhavidhingra removed this pull request from stack #9819 September 25, 2026 16:05
@bhavidhingra
bhavidhingra added this pull request to stack #9831 September 28, 2026 07:39
@bhavidhingra
bhavidhingra removed this pull request from stack #9831 September 28, 2026 07:40
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-solana-ct-sdk-v1-assembly branch 2 times, most recently from 4775aa0 to b8dab98 Compare September 28, 2026 08:26
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from f659c42 to 99c3287 Compare September 28, 2026 08:37
@bhavidhingra
bhavidhingra added this pull request to stack #9833 September 28, 2026 09:45
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from 99c3287 to ec0df1e Compare September 28, 2026 09:46
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-solana-ct-sdk-v1-assembly branch from 4f09094 to 59eb3fd Compare September 28, 2026 09:56
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from ec0df1e to e658fe9 Compare September 28, 2026 10:44
@bhavidhingra
bhavidhingra removed this pull request from stack #9833 September 28, 2026 10:47
@bhavidhingra
bhavidhingra changed the base branch from bhavi/chalo-1602-solana-ct-sdk-v1-assembly to master September 28, 2026 11:22
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch 3 times, most recently from e296708 to 8559f5d Compare September 29, 2026 12:27
@bhavidhingra
bhavidhingra changed the base branch from master to bhavi/chalo-1602-sol-v1-validation-serializer September 29, 2026 12:28
@bhavidhingra
bhavidhingra changed the base branch from bhavi/chalo-1602-sol-v1-validation-serializer to master September 29, 2026 14:44
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from 3c79f6b to 0162db4 Compare September 29, 2026 15:34
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr2-ct-v1 branch from 0162db4 to b502bcb Compare September 29, 2026 15:36
@bhavidhingra bhavidhingra changed the title feat(sdk-coin-sol): route confidential transfers through v1 feat(sdk-coin-sol): add v1 confidential transfer build, ops, example Sep 29, 2026
@bhavidhingra
bhavidhingra merged commit 0e55b17 into master Sep 29, 2026
26 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

Development

Successfully merging this pull request may close these issues.

2 participants