B.BlockAxis⌕ Search
Menu

Bitcoin Script, SegWit and Taproot

Bitcoin Script specifies spending conditions, such as signatures, multiple signers or time constraints.

AdvancedContent revised · 13.09.20264 min reading · allow 5–10 more minutes for the workshopBlockAxis
← My learning journey
Workshop · 20 XP

Awarded once after a correct answer.

The question we will work through

Read spending conditions, not marketing labels

Useful first : Bitcoin UTXOs explained · Hashes, keys and signatures

Reading path · 1 / 18 · Advanced

Key takeaway

Bitcoin Script specifies spending conditions, such as signatures, multiple signers or time constraints.

The essentials

Bitcoin Script specifies spending conditions, such as signatures, multiple signers or time constraints. Its expressiveness is intentionally constrained. Bitcoin has programmable spending conditions even though its execution model differs substantially from Ethereum’s.

How it works

SegWit moves certain signature data into a dedicated witness structure and addresses a form of transaction malleability important for higher-layer protocols. Taproot combines Schnorr signatures with commitments to alternative script paths. A key-path spend can avoid revealing alternative conditions; a script-path spend reveals the path used.

What to watch

These features can improve efficiency and privacy in particular arrangements. They do not make every transaction anonymous. Values and spending relationships can remain visible, and wallet behaviour matters. Check the address type and signing support of all participants before assuming a recovery or multisignature arrangement supports the same features.

Understand the details

Bitcoin outputs carry conditions that a future spend must satisfy. Script evaluates a limited set of operations rather than running an unrestricted application. A condition can require signatures or a time constraint. SegWit separates witness data and changes its weight accounting; Taproot provides a key path and, when needed, script paths committed through a tree.

Boundaries and common mistakes

A Taproot output is not automatically a multisig wallet or a guarantee of anonymity. Privacy depends on which spending path is used and on surrounding transaction behavior. Backup requirements may include wallet policy and derivation information, not just secret material. A technically valid policy can still be operationally impossible if necessary participants disappear.

The mechanism at a glance

SEE THE CONNECTIONS
Read spending conditions, not marketing labelsFour connected ideas
  1. 01Output commits conditions
  2. 02Choose eligible path
  3. 03Supply required witness
  4. 04Nodes evaluate conditions

Read these as connected concepts, not necessarily consecutive steps.

Read the explanation

Bitcoin outputs carry conditions that a future spend must satisfy. Script evaluates a limited set of operations rather than running an unrestricted application. A condition can require signatures or a time constraint. SegWit separates witness data and changes its weight accounting; Taproot provides a key path and, when needed, script paths committed through a tree.

The distinction that changes the analysis

01Know a secret
02Satisfy conditions

A spending rule may require multiple signatures or a time condition. Possessing one key is not sufficient when the complete rule asks for more. Describe the required evidence, then check which pieces are present and which remain missing.

Explain it yourself

Revisit the case above. Name what is established, what remains to be checked and the evidence needed to conclude. A strong answer addresses both sides of the diagram.

Applied workshop · work at your own pace

Apply the lesson to a case

Design a fictional policy: two signatures normally, or one recovery signer after a delay. List who must be available for each path and what wallet information must survive. Treat this as policy design, not production script code.

What can go wrong even if the cryptographic condition is correct?

Choose one answer.

Terms in this lesson
Multisig
A spending policy requiring several signatures, such as two of three authorised keys.
Prepare a correction note

Describe the passage and the proposed correction. This creates a local note for you to share; it sends nothing. Do not include personal or confidential information.

Sources and references

References for the mechanisms described. Numerical examples are hypothetical unless stated otherwise. Check the applicable version, network and jurisdiction.

References reviewed on 21 September 2026. All sources →