Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR adds transaction extraction functionality to the WASM UTXO module and
simplifies the extraction API through refactoring.

Key changes:

  • Add extractTransaction method to WrapPsbt for converting a finalized PSBT
    into a transaction object
  • Include TypeScript bindings for the new functionality
  • Add comprehensive tests to verify extraction works with different script types
  • Refactor BitGoPsbt.extractTransaction to use a single unified method in both
    Rust and TypeScript
  • Simplify the implementation to handle all network types with a single call
    rather than using separate methods per network type

Issue: BTC-2980

OttoAllmendinger and others added 2 commits February 6, 2026 14:27
Refactor BitGoPsbt.extractTransaction to use a single method in both Rust
and TypeScript. The new implementation handles all network types with a
single call, rather than using separate methods per network type.

Issue: BTC-2980

Co-authored-by: llm-git <llm-git@ttll.de>
Add extractTransaction method to WrapPsbt that converts a finalized PSBT
into a transaction object. Include TypeScript bindings and comprehensive
tests to verify the extraction works with different script types.

Issue: BTC-2980

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2980.add-wrap-psbt-extract branch from 7aaa84f to b480df9 Compare February 6, 2026 13:27
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review February 6, 2026 13:37
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner February 6, 2026 13:37
@OttoAllmendinger OttoAllmendinger merged commit d250ed1 into master Feb 7, 2026
6 checks passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2980.add-wrap-psbt-extract branch February 7, 2026 10:09
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