Bitcoin

Bitcoin Taproot and Schnorr Signatures

Taproot is Bitcoin's most significant protocol upgrade since SegWit, activated in November 2021, combining three improvements — Schnorr signatures (BIP340), Tapscript (BIP342), and MAST/Taproot itself (BIP341) — to enhance Bitcoin's privacy, script efficiency, and smart contract capabilities without compromising its core simplicity or security.

Bitcoin's Taproot upgrade, activated at block 709,632 in November 2021, was the result of years of cryptographic research and community consensus-building. It bundled three separate Bitcoin Improvement Proposals into a single soft fork: BIP340 (Schnorr signatures), BIP341 (Taproot itself), and BIP342 (Tapscript, updated scripting capabilities). Understanding Taproot requires understanding what problems it solves: the privacy leak from multisig and complex spending conditions, the fee inefficiency of revealing unused script branches, and the limitations of Bitcoin's original ECDSA signature scheme that constrained advanced applications.

Schnorr Signatures: The Cryptographic Foundation

Bitcoin originally used ECDSA (Elliptic Curve Digital Signature Algorithm) signatures — chosen in 2009 partly because the Schnorr signature scheme was still under patent protection. By the time Bitcoin development was mature enough to consider switching, the patent had expired. Schnorr signatures provide three key improvements over ECDSA. First, mathematical linearity: Schnorr signatures can be combined algebraically. If Alice and Bob each have a private key, they can produce a single combined public key and a single aggregated signature that proves both signed — indistinguishable from a single-key signature to outside observers. This is the foundation of key aggregation. Second, smaller multisig: a 3-of-5 multisig using ECDSA requires publishing all five public keys and all three signatures on-chain. With Schnorr key aggregation (MuSig2 protocol), the same 3-of-5 can appear as a single public key and single signature — the same size as a regular single-party transaction. Third, provable security: Schnorr has a cleaner security proof than ECDSA, reducing theoretical attack surface for cryptographers designing complex protocols on top.

MAST: Hiding Unused Script Paths

Complex Bitcoin scripts — multisig, time-locked transactions, Lightning channel closures — often include multiple spending conditions (paths). For example: "spendable by Alice alone after 1 year, OR by Alice and Bob together immediately, OR by Alice, Bob, and Carol's arbitration committee." Under pre-Taproot Bitcoin, all of these spending conditions were revealed on-chain when any path was executed — even the unused ones. This was both a privacy leak (revealing the existence and structure of complex arrangements) and a fee inefficiency (paying for data that wasn't necessary to validate the chosen spending path). MAST (Merkelised Alternative Script Trees) structures spending conditions as leaves in a Merkle tree. When spending, you reveal only the specific condition used plus a Merkle proof that it was a valid branch — all other branches remain private and their details are never published. The result: complex Bitcoin scripts that reveal only what is necessary for validation.

The Taproot Magic: Combining Schnorr and MAST

Taproot's elegance is in combining Schnorr and MAST into a single construction. Every Taproot output has a "key path" (spendable by a simple single key or MuSig2 aggregated key that looks like a single key) and optionally a "script path" (the MAST tree of spending conditions). If the key path is used — the cooperative case where all parties agree — the transaction looks identical to any ordinary single-signature Bitcoin transaction. The MAST tree's existence is never revealed. The script path is only exposed if the cooperative case fails and specific conditions must be satisfied. This means: a Lightning channel cooperative close, a complex multisig settlement, and a simple payment all look identical on-chain when using the key path. The privacy properties are substantially better than any pre-Taproot Bitcoin transaction type.

Taproot's practical applications: more efficient Lightning Network channel outputs (reducing closing transaction fees), better multisig privacy, the foundation for Discrete Log Contracts (DLCs, Bitcoin-native smart contracts using oracle attestations), and the technical basis for Ordinals and Inscriptions (which use Taproot's script path to embed arbitrary data in Bitcoin transactions — an unintended use case that generated enormous controversy and usage in 2023).

Adoption and Future Upgrades

Taproot adoption has grown steadily since activation: as of 2026, approximately 60–70% of Bitcoin transactions use Taproot outputs — driven primarily by Lightning Network implementations and exchange withdrawals upgrading their output types. The next anticipated Bitcoin protocol upgrades build directly on Taproot's foundation: OP_CAT (proposed re-enabling of a disabled opcode that would enable covenant-style smart contracts), CHECKSIGFROMSTACK (allowing verification of signatures over arbitrary messages), and various covenant proposals that would enable non-custodial Bitcoin vaults and more sophisticated DeFi primitives. Bitcoin's upgrade path is deliberately slow and conservative — consensus among developers, miners, and node operators required for any change — but Taproot demonstrated that significant protocol improvements remain achievable under Bitcoin's governance process.