vulpemventures / marina

Liquid Wallet browser extension
MIT License
39 stars 19 forks source link

`signTransaction`: support signing P2TR inputs #312

Closed tiero closed 2 years ago

tiero commented 2 years ago

At the moment signTransaction (which depends on ldk & liquidjs) is not capable to sign a transaction that contains a pay to taproot input.

tiero commented 2 years ago

This is trickier tat we originally thought: spending a taproot output, especially via script path spend (leaf), we need extra metadata to be shared, such as the the root hash, the path to the leaf and internal pubKey.

The best would be for user to let Marina know about the p2tr created in advance, using the account/template API discussed in #250

cc/ @louisinger @bordalix