Skip to content

feat(utxo-bin): add new utilities and descriptor conversion features #6361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

OttoAllmendinger
Copy link
Contributor

This PR adds several utility features to the utxo-bin package:

  • Add dependency on @bitgo/utxo-core for enhanced UTXO handling
  • Add utility function to capture console output in tests
  • Add formatObjAsTree helper for creating formatted tree output from objects
  • Add descriptor fromFixedScript command for converting BitGo FixedScript
    RootWalletKeys to output descriptors

Issue: BTC-2170

@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2170.add-utxo-bin-fromfixedscript branch 5 times, most recently from f712eee to 00d6460 Compare July 2, 2025 08:08
OttoAllmendinger and others added 5 commits July 2, 2025 10:13
Update eslint configuration to allow importing from specific modules
that support deep imports via exports directive.

Issue: BTC-2170

Co-authored-by: llm-git <[email protected]>
Add helper function to capture stdout/stderr during test execution to make
assertions on console output. Includes disabling colors for reliable tests.

Issue: BTC-2170

Co-authored-by: llm-git <[email protected]>
Adds a utility function that creates a formatted tree output from any arbitrary
object by first parsing it and then applying the regular tree formatter.

Issue: BTC-2170

Co-authored-by: llm-git <[email protected]>
Add capability to convert BitGo FixedScript RootWalletKeys to output
descriptors. The new command allows users to generate descriptors from
wallet keys with proper formatting options.

Issue: BTC-2170

Co-authored-by: llm-git <[email protected]>
Add ability to specify different networks when converting wallet keys to
descriptors. Maps keys to the specified network when necessary.

Issue: BTC-2170

Co-authored-by: llm-git <[email protected]>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2170.add-utxo-bin-fromfixedscript branch from 00d6460 to 8cb7e6a Compare July 2, 2025 08:13
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.

1 participant