xyzpub API - P2TR
dlabrie opened this issue · 1 comments
Describe the new feature or enhancement
Have the ability to call the /api/xyzpub/:extendedPubkey to generate P2TR (Pay-to-taproot) addresses. Perhaps with a bip32Path variable?
As well as have the /api/xyzpub/txids/:xyzpub endpoint return taproot transactions related to that zpub.
Additional context
Started using taproot and I can't list transactions going to my taproot wallet
bitcoinjs-lib appears to have P2TR address generation support
I also want this feature for the API and the UI.
I noticed there's 2 other xpubs the Capital Y Pub P2WSH in P2SH and capital Z pub P2WSH that are not supported.
See here:
https://jlopp.github.io/xpub-converter/
Does anyone know where some existing open source repo with derivation code for those?
Also, for taproot and how many derivations exist for taproot?