New Topic
Click here to advertise on this slot

what is Tapscript?

avatar
2021-12-14 06:57:49 UTC
What are some new things that tapscript enables us to do on Bitcoin? How does it work? Is it different from Bitcoin script?
Created
avatar45d
Replies
1
avatar
2022-01-05 13:22:15 UTC
<p>Bitcoin Improvement Proposal (BIP) 342 defines&nbsp;<a href="https://river.com/learn/terms/t/tapscript/" target="_blank" style="color: rgb(197, 160, 99);">Tapscript</a>, an update to Bitcoin’s scripting language. Tapscript enables Bitcoin nodes to create and validate&nbsp;<a href="https://river.com/learn/terms/p/pay-to-taproot-p2tr/" target="_blank" style="color: rgb(197, 160, 99);">Pay-to-Taproot (P2TR)</a>&nbsp;outputs by upgrading the&nbsp;<a href="https://river.com/learn/terms/o/opcode/" target="_blank" style="color: rgb(197, 160, 99);">opcodes</a>&nbsp;Bitcoin uses to evaluate scripts.</p><p>Tapscript changes how signatures are evaluated to take advantage of the efficiency improvements of Schnorr Signatures. In addition, BIP 342 adds several new null opcodes, called OP_SUCCESS, which allow Tapscript to be flexibly upgraded in the future.</p><p>Bitcoin Improvement Proposal 342 is part of the Taproot upgrade, which also includes&nbsp;<a href="https://river.com/learn/terms/b/bip-340-schnorr-signatures/" target="_blank" style="color: rgb(197, 160, 99);">BIP 340</a>&nbsp;and&nbsp;<a href="https://river.com/learn/terms/b/bip-341-taproot/" target="_blank" style="color: rgb(197, 160, 99);">BIP 341</a>.</p>