Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR contains two main improvements to the wasm-utxo module:

  1. Restructuring the codebase by isolating all WASM-specific code into a
    dedicated module for better organization and separation of concerns:

    • Creates a new wasm module to contain all bindings
    • Moves JS/WASM interface code out of core implementation files
    • Maintains backward compatibility with existing JS API
  2. Adding a new CLI tool that provides command-line access to wasm-utxo
    functionality with initial support for:

    • Address encoding/decoding across multiple networks
    • PSBT parsing with tree-based visualization

The Cargo setup has been modified to use workspace structure and expose
the library as rlib.

Issue: BTC-2652

@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2652.add-cli branch 3 times, most recently from cd1bf57 to deb7bdd Compare October 30, 2025 10:47
OttoAllmendinger and others added 2 commits October 30, 2025 12:00
Move all WASM-specific code into a dedicated module to improve
organization and separation of concerns. The core functionality remains
unchanged, but the binding layer is now cleanly separated from the
implementation.

This refactoring:
- Creates a new `wasm` module to contain all bindings
- Moves JS/WASM interface code out of core implementation files
- Maintains backward compatibility with existing JS API

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
Add a new CLI tool to provide easy access to wasm-utxo functionality
from the command line. Initial implementation supports:

- Address encoding/decoding across multiple networks
- PSBT parsing with tree-based visualization

Modified Cargo setup to use workspace and expose library as rlib.

Issue: BTC-2652

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review October 30, 2025 11:32
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner October 30, 2025 11:32
@OttoAllmendinger OttoAllmendinger merged commit 4966e30 into master Oct 30, 2025
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2652.add-cli branch October 30, 2025 14:30
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