feat: wrapApprove intent wiring (sendMany type + prebuild + shieldParams passthrough) - #9556
Draft
0xPrabh wants to merge 1 commit into
Draft
feat: wrapApprove intent wiring (sendMany type + prebuild + shieldParams passthrough)#95560xPrabh wants to merge 1 commit into
0xPrabh wants to merge 1 commit into
Conversation
Ticket: CHALO-1340 Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
0xPrabh
marked this pull request as draft
August 25, 2026 07:19
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.
Description
Wires
sendMany({ type: 'wrapApprove' | 'wrap', shieldParams })so a wrap intent can reach wallet-platform.Wallet.send()remains a single-payment helper (address+amount). Wrap has no client recipient; WP builds the calldata fromtokenNameandamount. This change:wrapApprove/wrapas TSSprebuildTransactionintent typesshieldParams: { tokenName, amount }throughBuildParams/populateIntenttokenName,amount)wrapinNO_RECIPIENT_TX_TYPES(wrapApprovewas already listed)Issue Number
CHALO-1340
Type of change
How Has This Been Tested?
(from
modules/sdk-core)Also added
bitgowallet unit tests forprebuildTransaction/populateIntent. Those require a full monorepo install (missing@bitgo/sdk-coin-pearlin this local tree).Checklist
Made with Cursor