Skip to content

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Feb 12, 2026

Add support for two new Solana intent types in the WASM transaction builder:

  • authorize: Decodes a pre-built transaction message (base64/bincode) and wraps it as an unsigned Transaction. Bypasses nonce/memo since the message is already complete.

  • customTx: Parses solInstructions array (programId, keys, data) into native Solana Instructions. Goes through normal nonce/memo path.

Also adds corresponding types (AuthorizeIntent, CustomTxIntent, CustomTxInstruction, CustomTxKey) and unit tests for both handlers.

BTC-3025

@lcovar lcovar force-pushed the BTC-3025-sol-wasm-authorize-customtx branch 3 times, most recently from 4819f33 to 9109614 Compare February 12, 2026 06:27
@lcovar lcovar marked this pull request as ready for review February 12, 2026 08:59
@lcovar lcovar requested a review from a team as a code owner February 12, 2026 08:59
@lcovar lcovar force-pushed the BTC-3025-sol-wasm-authorize-customtx branch from 9109614 to df5f02a Compare February 12, 2026 08:59
Add support for two new Solana intent types in the WASM transaction
builder:

- authorize: Decodes a pre-built transaction message (base64/bincode)
  and wraps it as an unsigned Transaction. Bypasses nonce/memo since
  the message is already complete.

- customTx: Parses solInstructions array (programId, keys, data) into
  native Solana Instructions. Goes through normal nonce/memo path.

Also adds corresponding types (AuthorizeIntent, CustomTxIntent,
CustomTxInstruction, CustomTxKey) and unit tests for both handlers.

BTC-3025
@lcovar lcovar force-pushed the BTC-3025-sol-wasm-authorize-customtx branch from df5f02a to 2f5fdca Compare February 12, 2026 18:35
@lcovar lcovar merged commit ddd58eb into master Feb 12, 2026
6 checks passed
@lcovar lcovar deleted the BTC-3025-sol-wasm-authorize-customtx branch February 12, 2026 18:50
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