Blockchain basics, one concept per page
The twenty-four mechanisms that take you from 'a chain of blocks?' to actually seeing how it works.
A diagram, the classic misconception, and one thing to go try. That's a page.
Blockchain basics, one concept per page
The twenty-four mechanisms that take you from 'a chain of blocks?' to actually seeing how it works.
Set in Space Grotesk, Inter and JetBrains Mono (SIL Open Font License).
Mechanisms checked against bitcoin.org's developer guide (block chain, proof of work), ethereum.org's developer documentation (consensus, proof-of-stake, accounts, wallets, security, smart contracts, gas, oracles, tokens, NFTs, finality), the Solidity documentation overview, the Hyperledger Fabric documentation, and Wikipedia's article on The DAO. Ethereum is described as it is today: proof-of-stake since 2022.
Educational information only, not financial advice. No investment advice, no price talk, no token recommendations. This book explains mechanisms; it does not tell you to buy anything.
Your purchase is for personal use only. You do not have redistribution rights: please do not share, resell, or republish this book or its pages.
© 2026 Steve Hodgkiss. All rights reserved. Personal use only; no redistribution rights.
Edition 1.0 · stevehodgkiss.net
Contents
Foundations
Before the jargon: a record book made of linked hashes, appended to forever, copied across many computers that all hold the same truth, which is exactly why tampering fails. Five pages on the machine under the buzzword.
- 01The append-only ledger
- 02Hashes: fingerprints for data
- 03Blocks, and the chain between them
- 04Distributed: many copies, one truth
A blockchain is a record book you can only add to. New entries go on the end; old entries are never edited. The history is the point.
The append-only ledger
Someone quietly edits an old row of a shared spreadsheet. A blockchain is that book with the write rule changed: entries only append, and every holder sees each new page.
'A database nobody can hack' is hype. It is a ledger that is very hard to rewrite unnoticed.
Ethereum's docs call it a shared database where data in a block cannot change without changing every block after it.
Not a cleverer database. A stranger one, on purpose.
Open any public block explorer and read one recent block: a timestamp, a list of transactions, a height one higher than the last.
A hash is a short fingerprint computed from any data. Same data in, same print out; change one character and the print is unrecognizably different. You cannot run it backwards.
Hashes: fingerprints for data
Let's say you must prove two files match without reading both aloud. Hash them: any data becomes a fixed-length fingerprint, and the smallest edit scrambles it completely.
The misconception is that a hash can be reversed. Nothing in the print lets you rebuild the input.
Bitcoin's guide: hashes convert data into seemingly random numbers, so you can't tweak data to hit a chosen print.
Hashing is a one-way street with a mirror at the end.
Hash one sentence with an online SHA-256 tool, then change one comma and hash again. Compare the two prints.
A block bundles transactions and carries the hash of the block before it. The link is the chain: tamper with any block and every later block's reference breaks.
Blocks, and the chain between them
Let's say page 900 ends with a summary number, and page 901 opens by copying it. That number is the previous block's hash: each block stores the hash of the block before.
'Chain of blocks' sounds like Lego. The link is a fingerprint, and edits break every reference downstream.
In the guide's words, a transaction cannot be modified without modifying its block and all following blocks.
The chain is a chain of fingerprints.
Open the newest block in an explorer and find its previous-block hash field. Click it to walk the chain backwards.
Thousands of computers each hold a full copy of the ledger and check new blocks independently. There is no master copy; agreement between the copies is the truth.
Distributed: many copies, one truth
Let's say one company runs the only copy of a ledger. It can edit history, or vanish with it. A public blockchain spreads the book: every full node holds and checks a copy.
The blockchain lives everywhere at once, not in one place. That is the whole difference.
Bitcoin's guide: each full node stores its own copy; same blocks on several nodes means consensus.
Many copies, one truth. The copies are the security.
Compare the newest block's height and hash on two different explorers. Two strangers' copies, identical.
When two valid blocks compete, the network keeps the branch with more backing and drops the other: a reorg. Finality is the point after which reversing would require destroying a third of all staked ether.
Reorgs and finality
Let's say two valid blocks arrive nearly together. The chain forks, briefly. The network follows the branch with more backing; the loser goes stale and its transactions rejoin the queue. That is a reorg.
The misconception is that a block is permanent on arrival. Early blocks are soft, and that softness invites double spends.
Finality is the hard edge: a finalized block cannot be reverted unless an attacker destroys a third of all staked ether.
Seen once: maybe. Finalized: done.
Watch a latest-blocks feed for five minutes and spot a block that vanishes from the main chain. A live reorg.
Using it safely
Nobody at a bank watches this account. Five pages on what a wallet really is (keys, not coins), why the 12 words ARE the wallet, what a private key controls, and the classic ways people lose funds to scams and slip-ups.
- 01Wallets are keys, not accounts
- 02Seed phrases: the words ARE the wallet
A wallet holds keys, not coins. The balance lives on the ledger, and whoever holds the private key controls it. Swap wallet apps freely; lose the key and the balance stays locked away from you.
Wallets are keys, not accounts
Let's say you 'have 50 coins in your wallet app'. Delete the app. Nothing is lost: the app never held the coins. It held keys, and the balance sits on the ledger.
'Wallet' is the field's most misleading word. ethereum.org: a tool for your account; providers have no custody.
Swap apps freely; the account stays. You never really hold coins, you hold private keys.
The wallet is the keyring. The vault is the chain.
Find your wallet's receive address and its export-key option (just find it). Notice which one the app guards.
A seed phrase is a list of 12 or 24 words from which every key in the wallet is generated. Type the words into any compatible wallet and the whole account returns.
Seed phrases: the words ARE the wallet
Let's say the app tells you to write down 12 words, without saying what they are. They are the seed: the wallet turns them into the number that generates every private key.
The phrase backs nothing up to any company. Anyone who learns the words becomes the wallet's owner.
That is also the rescue: the words restore the account into any compatible wallet. Order matters.
The words ARE the wallet. The app is just a viewer.
Create a throwaway wallet, write its practice seed on paper, wipe it, restore from paper. Watch it return.
A smart contract is a program deployed to the chain with its own address. Anyone can call it; every node runs the same code and agrees on the result. Nobody steers it.
Code that runs itself
Let's say a game's rules sat in a program nobody could quietly patch, checked by thousands of computers. That is a smart contract: code at an address on the chain, run by transaction, identical on every node.
The misconception is that someone still operates it. ethereum.org: contracts run as programmed, with no user in control.
Users call a function with a transaction, exactly like sending funds, and interactions are irreversible.
'Runs itself' cuts both ways.
Open a token contract's page on an explorer and click through its functions. That is a running program's menu.