Reviewed Aug 2026
DE
BA-07 · LESSON 03

Key-path spending

KEY DEFINITIONS

Terms used in this lesson

Schnorr signature
Bitcoin’s Taproot signature scheme, whose algebra supports compact verification and advanced multi-party signing.
Sighash
The exact transaction digest and signature mode that determine which fields a Bitcoin signature authorizes.
Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
BIP340
The Bitcoin Improvement Proposal specifying Schnorr signatures for the secp256k1 curve.
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.
Control block
Proof data showing that a revealed script was committed inside a Taproot output.
Taptree
The Merkle tree of alternative scripts committed inside a Taproot output.
BIP341
The Bitcoin Improvement Proposal specifying Taproot output validation and the transaction signature message used by Taproot signatures.

The internal key holder can authorize a spend with a tweaked Schnorr signature without revealing alternative scripts.

55 min Difficulty 2/5 Not started

Loading lesson visuals...

01

Learn the idea

A Taproot key-path spend authorizes a P2TR output with one BIP340 Schnorr signature under the tweaked output key. The internal private key must be adjusted by the same TapTweak used to derive the output key. No script tree, control block, or unused policy branch is revealed on chain.

GUIDED EXPLANATION1/6 ideas inspected
1

Start from internal key

Let internal public key P correspond to private scalar p under BIP340's x-only key and parity conventions.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA key-path spend proves there were no alternative scripts committed in the output.

It reveals only a valid signature under the output key. The same output key may include a taptree commitment whose branches remain hidden.

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.