Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR includes two related refactoring changes to abstract-utxo:

  1. Remove unused altScriptHash and supportAltScriptDestination properties

    • These properties were set but never actually used in the BitGo codebase
    • Removing them eliminates utxo-lib dependency from ltc.ts and tltc.ts
  2. Migrate BCH canonicalAddress function to use wasm-utxo

    • Replace utxo-lib addressFormat functions with wasm-utxo address module
    • This change affects address format conversion (cashaddr/base58) for BCH

BTC-2650

…tScriptDestination

These properties were set but never read anywhere in the BitGo codebase.
Removing them also eliminates the utxo-lib dependency from ltc.ts and tltc.ts.

Co-authored-by: Cursor <cursoragent@cursor.com>

TICKET: BTC-2650
Replace utxo-lib addressFormat functions with wasm-utxo address module
for BCH address format conversion (cashaddr/base58).

Co-authored-by: Cursor <cursoragent@cursor.com>

TICKET: BTC-2650
@OttoAllmendinger OttoAllmendinger changed the title # refactor(abstract-utxo): migrate to wasm-utxo and remove dead code efactor(abstract-utxo): migrate to wasm-utxo and remove dead code Feb 11, 2026
@OttoAllmendinger OttoAllmendinger changed the title efactor(abstract-utxo): migrate to wasm-utxo and remove dead code refactor(abstract-utxo): migrate to wasm-utxo and remove dead code Feb 11, 2026
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review February 11, 2026 13:55
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner February 11, 2026 13:55
@OttoAllmendinger OttoAllmendinger merged commit 8be1fa5 into master Feb 11, 2026
20 checks passed
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