Transactions, outputs, locks, keys, and addresses
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.
Loading lesson visuals...
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.
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 every idea above to open it.
An address helps construct a locking script. Value exists in individual outputs, and a key can authorize only outputs whose conditions it satisfies.
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.