Skip to content
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

Use address descriptors instead of paths in utxo structures #34

Open
landabaso opened this issue Nov 7, 2022 · 0 comments
Open

Use address descriptors instead of paths in utxo structures #34

landabaso opened this issue Nov 7, 2022 · 0 comments

Comments

@landabaso
Copy link
Member

landabaso commented Nov 7, 2022

In order to make it a smooth transition:

  1. Create a descriptor property and put in there a serialized json object including path, witnessScript and/or redeemScript. Now change all functions names from DerivationPath or Path to Descriptor.
  2. then start using: wsh(raw(HEX)), wsh(raw(HEX))or sh(wsh(raw(HEX)) for FARVAULT transactions.
  3. On a final phase, use miniscript, descriptors...

https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md

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

No branches or pull requests

1 participant