Skip to content

Add a batch instruction helper to the JS client#1211

Draft
lorisleiva wants to merge 1 commit into
loris/fix-idl-program-interface-syncfrom
loris/js-batch-helper
Draft

Add a batch instruction helper to the JS client#1211
lorisleiva wants to merge 1 commit into
loris/fix-idl-program-interface-syncfrom
loris/js-batch-helper

Conversation

@lorisleiva
Copy link
Copy Markdown
Member

This PR ports the manual batch instruction helper from the original Token JS client to Token 2022. It wraps the generated getBatchInstruction/parseBatchInstruction into ergonomic helpers that accept and return token instructions directly, rather than the raw instruction data shape.

Note

Stacked on top of #1210 — please review and merge that one first. This branch will be rebased onto main once it lands.

This PR ports the manual `batch` instruction helper from the original Token JS client to Token 2022. It wraps the generated `getBatchInstruction`/`parseBatchInstruction` into ergonomic helpers that accept and return token instructions directly, rather than the raw instruction data shape.
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.

1 participant