Upcoming BIP341 Taproot support

The Internet Computer recently added support for threshold Schnorr signatures including BIP-340 Schnorr, as used in Bitcoin. However this support did not extend to the full set of script-based spending made possible by BIP-341 (Taproot) because it is not currently possible to provide the relevant Taproot script hashes to the signature operation. We plan on extending the sign_with_schnorr interface to support this as an optional input.

Please review the draft interface spec change to see the specific proposal. We’d welcome your comments.