Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR adds transaction handling improvements for multiple UTXO chains:

  • Adds Transaction and ZcashTransaction wrapper classes to provide a clean,
    typed API over the WASM bindings
  • Extracts Zcash transaction parsing logic into a separate module for better
    reusability
  • Adds support for Dash transactions, including special transaction format
    used for Evolution (EVO) features
  • Implements DashTransaction class for round-trip processing
  • Extends PSBT handling to support Dash's transaction format
  • Adds test cases to verify proper handling of large Dogecoin values (up to
    1e19)

These changes make the implementation more modular and maintainable while
extending support for different UTXO chain variants.

Issue: BTC-2659

OttoAllmendinger and others added 4 commits December 22, 2025 17:47
…handling

Adds Transaction and ZcashTransaction wrapper classes to provide a clean,
typed API over the WASM bindings. Extracts Zcash transaction parsing logic
into a separate module for better reusability, making the implementation
more modular and maintainable.

Issue: BTC-2659

Co-authored-by: llm-git <llm-git@ttll.de>
Add support for Dash transactions, including special transaction format
used for Evolution (EVO) features. This implementation:

- Adds parser/serializer for Dash transaction format with extra payload
- Implements DashTransaction class for round-trip processing
- Extends PSBT handling to support Dash's transaction format
- Adds unit tests with fixtures to verify correct handling

Issue: BTC-2659

Co-authored-by: llm-git <llm-git@ttll.de>
Add test cases to verify proper handling of large Dogecoin values (up to 1e19).
This ensures PSBT creation, signing, and extraction work correctly with
amounts that exceed JavaScript's safe integer limits but fit in u64.

Issue: BTC-2659

Co-authored-by: llm-git <llm-git@ttll.de>
Add Dash support to WASM package by creating a new module and exposing
the Dash transaction wrapper for JavaScript interoperability.

Issue: BTC-2659

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger changed the title feat(wasm-utxo): improve UTXO chain support with new transaction classes feat(wasm-utxo): dash and doge support Dec 22, 2025
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review December 22, 2025 16:57
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner December 22, 2025 16:57
@OttoAllmendinger OttoAllmendinger merged commit 083dc37 into master Dec 22, 2025
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2659.dash-doge branch December 22, 2025 16:57
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.

3 participants