Tapscript is the scripting language used for taproot script-path spends.
It shares most operations with legacy and segwit Bitcoin Script but has a few differences:
OP_CHECKMULTISIGVERIFYare replaced by a
Many opcodes are redefined to be
OP_SUCCESSopcodes that unconditionally render the entire script valid to simplify soft fork upgrades.
Signature hashes are calculated differently than in legacy script or BIP143 v0 segwit.
Primary code and documentation
Optech newsletter and website mentions
- 2020-03-18 Bitcoin Core #16902 fixes an inefficiency in OP_IF related opcodes
- 2020-02-05 btcdeb adds
tapcommand for experimenting with taproot and tapscript
- 2019-12-28 2019 year-in-review: taproot and tapscript
- 2019-12-04 Discussion about position commitments using signature-checking opcodes
- 2019-10-29 Bitcoin Optech schnorr/taproot workshop
- 2019-10-23 Announcement of structured taproot review (including tapscript)
- 2019-10-16 Update on changes to schnorr, taproot, and tapscript
- 2019-09-25 Tapscript resource limits
- 2019-07-10 BIP322 signmessage forward compatibility
- 2019-06-14 Executive briefing: Taproot and Tapscript
- 2019-05-14 Overview of Taproot and Tapscript
- 2019-05-14 Extended summary of bip-taproot and bip-tapscript