Skip to content

Conversation

@lcovar
Copy link
Contributor

No description provided.

@lcovarlcovarforce-pushed the BTC-0-draft-example-sol-building branch 2 times, most recently from f4999b4 to ff71306CompareJanuary 29, 2026 08:36
Introduces WASM-based transaction building for testnet (tsol) via @bitgo/wasm-solana, with zero @solana/web3.js runtime dependency. ## Architecture Testnet (WASM path - no web3): - customInstructionBuilder stores versioned data on _versionedTransactionData - buildVersionedWithWasm() delegates to wasm/builder.ts - Nonce injection via wasm/builder.injectNonceAdvanceInstruction() Mainnet (legacy path - unchanged): - customInstructionBuilder stores on Transaction class + injects nonce - buildVersionedTransaction() reads from Transaction class - Original behavior preserved ## Key files - wasm/builder.ts: buildWasmTransaction(), buildVersionedWasmTransaction() - wasm/builder.ts: injectNonceAdvanceInstruction() (pure WASM constants) - customInstructionBuilder.ts: testnet/mainnet branching for storage Co-Authored-By: Claude Opus 4.5 <[email protected]> TICKET: BTC-0
@lcovarlcovarforce-pushed the BTC-0-draft-example-sol-building branch from ff71306 to e00d9e1CompareJanuary 29, 2026 19:23
Sign up for freeto 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

@lcovar