Is it possible to combine a native threshold-signature script with taproot?

Is it possible to combine a native threshold-signature script with taproot?

 

Multisignature and threshold signature schemes deal with keys: private and public keys. Addresses before Taproot were hashes of the public key (if it required a single signature from a single key) or the script (if it required a scriptSig to satisfy this script). If you wanted to use n addresses for a threshold signature scheme you would set it up using the n public keys associated with those n addresses (i.e. before they were hashed).

Similarly a Taproot threshold signature (k-of-n) would be constructed using public keys rather than addresses. (In Taproot’s case the address is the internal public key tweaked by the Merkle root of the Taproot tree.) It would require k signatures associated with k of the n public keys to be spent. The difference with Taproot is that the OP_CHECKMULTISIG opcode has been deprecated and replaced with OP_CHECKSIGADD (discussed in BIP 342). But you can set up threshold signature schemes with this opcode that are comparable to the threshold signature schemes you could with SegWit version 0 (ECDSA).



Source link

Leave a Comment

Your email address will not be published.