Reviewed Aug 2026
DE
BA-07 · LESSON 02

Taproot outputs

KEY DEFINITIONS

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.

45 min Difficulty 2/5 Not started

Loading lesson visuals...

01

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.

GUIDED EXPLANATION1/4 ideas inspected
1

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 each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionTaproot puts the whole taptree on chain when the output is created.

Only the tweaked output key is visible at creation. A script and its proof appear only if that script path is spent.

02
FINISH LEARNING FIRST

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.