libwally-core icon indicating copy to clipboard operation
libwally-core copied to clipboard

Single-sig P2TR pkScript/sigScript functions

Open benma opened this issue 4 years ago • 9 comments

Are there plans for this?

https://github.com/bitcoin/bips/blob/master/bip-0086.mediawiki

benma avatar Nov 15 '21 23:11 benma

Hi @benma

We do have plans for supporting receiving and spending from taproot outputs. However at this stage we are still in the planning stage of how we will structure our multisig trees, and the anonymity set is very small, so this isn't our highest priority at present.

jgriffiths avatar Nov 16 '21 02:11 jgriffiths

Any updates on the roadmap for P2TR support for libwally? Is there a fork somewhere that has a feature branch starting work on it?

We have multiple wallet projects, both our own and others in the Airgapped Wallet Community stalled on this.

/cc @jesseposner @jonasnick @wolfmcnally

ChristopherA avatar Mar 29 '22 01:03 ChristopherA

Hi @ChristopherA long time no chat, hope you are well.

Wally supports paying to P2TR outputs already, I assume you mean support for receiving and spending from taproot inputs. Its likely that we will support taproot through descriptors when that is merged, along with whatever support functions make sense in that context. Until very recently we had no resources for wally development; that situation should have improved now.

Currently I'm planning to fix the build issues, add PSBT v2 support and then complete descriptor/miniscript support, at which point the missing parts for TR can be assessed.

jgriffiths avatar Apr 03 '22 20:04 jgriffiths

@instagibbs could you do a PR to cover this use case as a basis for what you will use/need in core lightning?

There may be more needed I didn't check yet

greenaddress avatar Nov 30 '22 17:11 greenaddress