How does Bitcoin work?
Follow one made-up payment. Jo is buying a used book from Sam, who agrees to accept bitcoin.
Sam shares an address
An address tells Jo where to send the payment. Think of the address on an envelope. A Bitcoin wallet is a tool for managing the secret keys that let a person spend bitcoin. The record of the money lives on the network.
Jo signs the payment
Jo enters the amount, checks Sam’s address and reviews the fee. The wallet uses a secret key to make a digital signature. Computers can check the signature while the key itself stays secret.
The network checks the record
Computers check that Jo’s payment follows the rules and that those funds are still available. Miners use computing power to compete to add a group of payments, called a block. Other computers check the block before accepting it.
Each accepted block points back to the one before it. That linked record is the blockchain. As more blocks build on top, changing an older payment gets harder. Sam can wait for confirmations before handing over the book.
Which can Sam share with Jo: a receiving address or a secret key?
The receiving address. Anyone who gets the secret key may be able to spend the money it controls.
Next lesson · Bitcoin through the years