Reviewed Aug 2026
DE
BA-00 · LESSON 02

Transactions, outputs, locks, keys, and addresses

KEY DEFINITIONS

Terms used in this lesson

Outpoint
A transaction ID plus output number that identifies one exact prior output.
Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.

Build one payment from spendable outputs and follow how an address becomes a locking script, a key authorizes an input, and change becomes a new output.

45 min Difficulty 1/5 Not started

Loading lesson visuals...

01

Learn the idea

A Bitcoin payment does not move a balance between protocol accounts. It consumes one or more existing outputs and creates replacement outputs. The receiver shares an address that a wallet decodes into a locking script. The sender proves authorization with a signature from the matching key, while full nodes check that every referenced output is available and every value balances.

GUIDED EXPLANATION1/5 ideas inspected
1

Decode the payment instruction

Bob shares a mainnet address. Alice's wallet checks its network and checksum, decodes its witness version and program, and builds the exact output script. The address text is not written into the transaction.

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

Inspect every idea above to open it.

Important distinctionAn address is a Bitcoin account number and the private key logs into it.

An address helps construct a locking script. Value exists in individual outputs, and a key can authorize only outputs whose conditions it satisfies.

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.