ark-network / ark

Ark is a layer-two protocol designed to scale Bitcoin transactions
https://arkdev.info
MIT License
82 stars 18 forks source link

Taproot descriptor with 1 leaf is not parsable by bitcoin-core #367

Closed louisinger closed 5 days ago

louisinger commented 3 weeks ago

This is the current desriptor string returned by our parser in case of 1 leaf only

"tr(INTERNAL_KEY ,{pk(KEY)})"

the "{ }" brackets are not expected by bitcoin core, the correct descriptor should be:

"tr(INTERNAL_KEY , pk(KEY))"
aruokhai commented 5 days ago

Hey @louisinger, can i take this ?

louisinger commented 5 days ago

Hey @louisinger, can i take this ?

We recently decided to migrate to the tapscript array instead of descriptors. mainly because it lacks a good golang support and is not flexible enough for complex script.

https://github.com/ark-network/ark/pull/384

I'll close this issue