Learn About Bitcoin℠ > Core System
Keys, Addresses & How Transactions Work
Ownership of bitcoin is controlled by private keys. A private key is a randomly generated number that allows its holder to create a digital signature authorizing the movement of specific unspent outputs.
From a private key, wallet software derives a public key. An address is a shorter, hashed form of the public key that can be shared to receive bitcoin. Addresses do not store bitcoin; they are labels that point to unspent transaction outputs on the blockchain.
How a Transaction Is Built
- The wallet identifies unspent outputs (UTXOs) controlled by the private key.
- It constructs a transaction that spends one or more inputs and creates new outputs.
- The private key signs the transaction, proving control without revealing the key itself.
- The signed transaction is broadcast to the network.
- Nodes verify the signature and that the inputs have not already been spent.
- Miners include the transaction in a block; once confirmed, the new outputs become spendable by their new owners.
Bitcoin does not use account balances in the way a bank does. The ledger tracks individual unspent outputs. When value moves, previous outputs are consumed and new ones are created. This model is what enables independent verification by any node.
Losing a private key means losing access to the bitcoin it controls. There is no central recovery mechanism. This is why self-custody practices — secure generation, offline backup, and careful storage — are fundamental.