Skip to content

feat(sol): add sdk-ct-v1-broadcast example for SDK-built v1 CT - #9811

Closed
bhavidhingra wants to merge 1 commit into
bhavi/chalo-1602-pr3-ct-opsfrom
bhavi/chalo-1602-sdk-v1-ct-example
Closed

bhavidhingra wants to merge 1 commit into
bhavi/chalo-1602-pr3-ct-opsfrom
bhavi/chalo-1602-sdk-v1-ct-example

Conversation

@bhavidhingra

Copy link
Copy Markdown
Contributor

Summary

Add a reproducible BitGoJS example that builds a Token-2022 confidential Transfer as a Solana v1 (SIMD-0296/0385) transaction via the SDK ConfidentialTransferBuilder and broadcasts + confirms it on devnet (CHALO-1602).

Changes

  • examples/ts/sol/sdk-ct-v1-broadcast.ts: loads pre-created proof contexts + transfer ciphertexts (produced by the coins-sandbox ct_sdk_feed.mjs), builds the v1 transaction with version(1) + transactionConfig, signs payer + authority, and broadcasts via @solana/web3.js with confirmation. Env/state driven, credential-free.

Devnet verification (2026-09-24)

SDK-built v1 CT Transfer, ConfidentialTransferBuilder + version(1):

  • wire[0] = 0x81 (v1), 654 bytes (<= 4096), 2 required signatures
  • signature 4YW5dPiHU5fbZGx8RmT1XKbsqUSaasVgTe52L8MufvbS61HZwdwEXupEVDrninbLRkBHnWPW9igiJCrNSMvCcqiw, confirmed slot 503454588

Notes

Refs: CHALO-1602

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

linear-code Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

CHALO-1602

@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from c65b87a to 7d9d73d Compare September 25, 2026 08:16
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from b874f3f to d5fe0cc Compare September 25, 2026 08:41
@bhavidhingra
bhavidhingra requested review from a team as code owners September 25, 2026 08:41
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 7d9d73d to 4c8098b Compare September 25, 2026 08:42
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from d5fe0cc to f659c42 Compare September 25, 2026 09:32
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 4c8098b to 083e0db Compare September 25, 2026 09:38
@bhavidhingra
bhavidhingra removed this pull request from stack #9819 September 25, 2026 16:05
@bhavidhingra
bhavidhingra removed this pull request from stack #9831 September 28, 2026 07:40
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from 5d60ea9 to 7a3a72e Compare September 28, 2026 08:38
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 083e0db to f38a6dc Compare September 28, 2026 08:40
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from f38a6dc to 6408320 Compare September 28, 2026 09:46
@bhavidhingra
bhavidhingra removed this pull request from stack #9833 September 28, 2026 10:47
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from a3a856e to 6fe2572 Compare September 28, 2026 10:48
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 6408320 to 2d9531b Compare September 28, 2026 10:49
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from 6fe2572 to 8aba1af Compare September 28, 2026 11:23
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 2d9531b to 9935364 Compare September 28, 2026 11:24
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from 8aba1af to bf5ca79 Compare September 29, 2026 12:27
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from 9935364 to e296708 Compare September 29, 2026 12:27
Add an examples/ts/sol script that builds a Token-2022 confidential
Transfer as a v1 (SIMD-0296/0385) transaction via the SDK
ConfidentialTransferBuilder, consumes pre-created proof contexts
(produced by the coins-sandbox ct_sdk_feed.mjs), and broadcasts +
confirms on devnet. Env/state driven and credential-free.

Verified on devnet: wire 0x81, 654 bytes, confirmed.

Refs: CHALO-1602
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-pr3-ct-ops branch from bf5ca79 to 623e59c Compare September 29, 2026 14:07
@bhavidhingra
bhavidhingra force-pushed the bhavi/chalo-1602-sdk-v1-ct-example branch from e296708 to 27b6a78 Compare September 29, 2026 14:07
@bhavidhingra

Copy link
Copy Markdown
Contributor Author

Superseded by #9809 (PRs clubbed into one).

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.

3 participants