Repository navigation
feat(sdk-coin-sol): V1TransferBuilder for server-side v1 transfers - #9942
Merged
Merged
Conversation
Contributor
Structured-params surface (Option B): V1PaymentBuilder builds a v1 (SIMD-0296/0385) native SOL payment envelope from sender + recipients/amounts — the caller supplies fields, never instructions. Named after the payment intent it serves (WP's 'transfer' refers to tokens). Inherits AdvanceNonceAccount injection, message compile, and message-signer-order signature assembly from V1TransactionBuilder. Exposed via TransactionBuilderFactory.getV1PaymentBuilder(). Refs: CHALO-1603
bhavidhingra
force-pushed
the
bhavi/chalo-1603-sdk-v1-transfer-builder
branch
from
October 12, 2026 11:54
561fb50 to
25bb75c
Compare
Contributor
|
|
hrishikeshjain
approved these changes
Oct 12, 2026
0xPrabh
approved these changes
Oct 12, 2026
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
Server-side v1 (SIMD-0296/0385) construction surface:
V1TransferBuilderbuilds a native SOL transfer envelope from structured params (sender + recipients/amounts) — callers supply fields, never instructions. Inherits AdvanceNonceAccount injection, message compile, and message-signer-order signature assembly fromV1TransactionBuilder.Exposed via
TransactionBuilderFactory.getV1TransferBuilder(). Part of the CHALO-1603 structured-v1-intents rework (Option B) — the WP will construct v1 transfers server-side, eliminating the client-supplied-envelope confused-deputy surface.Tests
5 new unit tests (structured send surface, build+sign round-trip, durable-nonce 2-sig assembly, config-required, validation); existing v1 suite 13 passing.
Refs: CHALO-1603