What Is Tapscript and How Does It Extend Bitcoin Script?
Short answer
Tapscript is the script language and validation rule set for Taproot script-path spends, specified by BIP342. It builds on Bitcoin Script while introducing changes tailored to Schnorr signatures and Taproot's witness version 1.
Explanation
One important change is OP_CHECKSIGADD, which makes it easier to express certain threshold-signature checks in script. Tapscript also uses a different signature operation cost model and defines OP_SUCCESSx opcode behavior, leaving room for future soft-fork upgrades.
Tapscript does not turn Bitcoin into a general-purpose virtual machine. Bitcoin Script remains deliberately constrained, and proposed new features still require protocol design, review, and appropriate network activation.
A Taproot payment may use a simple key-path spend without executing Tapscript at all. Tapscript is relevant when a committed script branch is revealed and executed through the script path.
