Key-path spending
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.
Loading lesson visuals...
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.
Start from internal key
Let internal public key P correspond to private scalar p under BIP340's x-only key and parity conventions.
Inspect every idea above to open it.
It reveals only a valid signature under the output key. The same output key may include a taptree commitment whose branches remain hidden.
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.