darosior / python-bip380

Bitcoin Output Script Descriptors with Miniscript extension
MIT License
20 stars 5 forks source link

Quick and dirty TapMiniscript support #23

Closed darosior closed 7 months ago

darosior commented 1 year ago

Based on #22, this adds support for Tapscript-Miniscript in Taproot leaves.

EDIT: more than a year ago i started working on this and tried to make it clean. I ended up needing it for Liana's testing framework so i ended up rushing the last bits of support i needed. This is not a great API, is lacking safety checks and features but meets my needs for now.

darosior commented 7 months ago

Alright so i went for a different approach for now. I just introduced a quick and dirty parsing context in the form of a boolean. This library is already broken anyways and i don't have time to fix it. That should be enough for my current use case (functional tests in Liana). If anybody else is interested in improving Taproot support here i would be happy to provide guidance.