Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR improves the WASM UTXO module with several new features and
enhancements:

  • Add FixedScriptWallet to API for creating output scripts and addresses
    with standard wallet script types without descriptors
  • Implement comprehensive Network enum for Bitcoin-like networks with
    conversion methods between different naming systems
  • Add direct coin-based address encoding/decoding APIs that don't require
    a utxolib Network object
  • Add support for all BitGo UTXO coins through a CoinName type
  • Implement cashaddr format support for Bitcoin Cash and eCash networks
  • Add clippy lints configuration to Cargo.toml
  • Update feature matrix in README to reflect completed functionality

Reference: BTC-2652

OttoAllmendinger and others added 5 commits October 27, 2025 15:32
Add FixedScriptWallet with methods for creating output scripts and addresses
based on wallet keys. This allows working with standard wallet script types
without needing to create descriptors first.

Issue: BTC-2652

Co-authored-by: llm-git <[email protected]>
Add comprehensive Network enum for Bitcoin-like networks with conversion
methods between different naming systems. Implements utility functions
for network identification and conversion between network types, including
mainnet/testnet detection and BitGo coin name mapping.

Co-authored-by: llm-git <[email protected]>
Add APIs for encoding/decoding addresses directly with coin names without
requiring a utxolib Network object. This simplifies address handling by
eliminating the dependency on JavaScript Network objects.

New features:
- Add `fromOutputScriptWithCoin` and `toOutputScriptWithCoin` functions
- Support all BitGo UTXO coins through a CoinName type
- Add cashaddr format option for Bitcoin Cash and eCash networks

Issue: BTC-2652

Co-authored-by: llm-git <[email protected]>
Update feature matrix to mark FixedScript Wallet address generation
as complete for all altcoins.

Issue: BTC-2652

Co-authored-by: llm-git <[email protected]>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2652.altcoin-address-encoding branch from adad2ff to 6a923e3 Compare October 27, 2025 14:35
@OttoAllmendinger OttoAllmendinger changed the title feat(wasm-utxo): enhance UTXO wallet functionality and address handling feat(wasm-utxo): extend address generation for altcoin wallets Oct 27, 2025
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review October 27, 2025 14:41
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner October 27, 2025 14:41
@OttoAllmendinger OttoAllmendinger merged commit 5b01d61 into master Oct 27, 2025
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2652.altcoin-address-encoding branch October 27, 2025 14:52
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