Taproot outputs
Terms used in this lesson
- Taproot
- A Bitcoin output and spending design that can combine a public-key path with privately committed alternative scripts.
- P2TR
- Pay to Taproot, the Bitcoin output type introduced with Taproot.
- Taptree
- The Merkle tree of alternative scripts committed inside a Taproot output.
- Vault
- A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
- Witness
- Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
- Tapscript
- The version of Bitcoin Script used by a Taproot script-path spend.
- Control block
- Proof data showing that a revealed script was committed inside a Taproot output.
- Guardian
- A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
- BIP341
- The Bitcoin Improvement Proposal specifying Taproot output validation and the transaction signature message used by Taproot signatures.
P2TR commits to an internal key optionally tweaked by a script-tree root, presenting one compact output key on chain.
Loading lesson visuals...
Learn the idea
A Taproot output is a version-1 witness output containing a 32-byte public key. That output key can commit to an internal key alone or to an internal key plus a tree of alternative scripts.
Choose an internal key
The internal public key is the starting point for the output. Protocols may use a real signing key or deliberately choose an unspendable internal key.
Inspect every idea above to open it.
Only the tweaked output key is visible at creation. A script and its proof appear only if that script path is spent.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.