Tapscript


Tapscript is the scripting language used to enable a variety of new transaction types as part of the Taproot upgrade. Tapscript is similar to Script, Bitcoin’s legacy scripting language, with a few alterations.

The main change, the addition of opcode OP_CHECKSIGADD, takes advantage of the fact that Schnorr signatures, another aspect of the Taproot upgrade, can be aggregated. Additionally, Tapscript is optimized to easily allow for unforeseen future upgrades by using the opcode OP_SUCCESS.

Learn more about Tapscript.