How Blockchain Works
Every blockchain operates as a cycle: transactions are created, grouped into blocks, validated through consensus, and appended to a chain. Understanding this lifecycle reveals why blockchains are so resilient.
The Lifecycle of a Block
Step 1: TRANSACTION CREATION
ββββββββββββββββββββββββββββββββββββββββ
β User A sends 2 ETH to User B β
β Transaction includes: β
β - Sender address β
β - Recipient address β
β - Amount β
β - Digital signature (proof of auth) β
β - Gas fee β
ββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Step 2: POOL OF PENDING TRANSACTIONS
ββββββββββββββββββββββββββββββββββββββββ
β βββββββ βββββββ βββββββ βββββββ β
β β T1 β β T2 β β T3 β β T4 β β
β βββββββ βββββββ βββββββ βββββββ β
β Transactions wait to be picked up β
ββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Step 3: BLOCK CREATION
ββββββββββββββββββββββββββββββββββββββββ
β Block #12,345 β
β ββββββββββββββββββββββββββββββββββ β
β β Previous Hash: 0x8a3f... β β
β β Timestamp: 2026-07-04 12:00 β β
β β Merkle Root: 0xb7c1... β β
β β Nonce: 0 β β
β β Transactions: [T1, T2, T3] β β
β ββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Step 4: CONSENSUS VALIDATION
ββββββββββββββββββββββββββββββββββββββββ
β Nodes verify: β
β - Valid signatures β
β - Sufficient balance β
β - Correct block format β
β - Valid proof (PoW or PoS) β
β If consensus reached β block added β
ββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Step 5: BLOCK APPENDED TO CHAIN
ββββββββββββββββββββββββββββββββββββββββ
β Block #12,344 βββΊ Block #12,345 β
β Hash: 0x8a3f Hash: 0x5d2e β
β (contains prev) β
ββββββββββββββββββββββββββββββββββββββββ
How Blocks Link Together
Each block contains the hash of the previous block. Changing any data in an old block changes its hash, which breaks the link to the next block, which breaks the next, and so on. This chain of hashes is what makes the ledger tamper-evident.
Block N-2 Block N-1 Block N
ββββββββββββ ββββββββββββ ββββββββββββ
βData β βData β βData β
βPrev Hash β βPrev Hash β βPrev Hash β
β 0x7e2a β β 0x9c4f β β 0x5d2e β
βHash β βHash β βHash β
β 0x9c4f ββββββββββ 0x5d2e ββββββββββ 0x1b8a β
ββββββββββββ ββββββββββββ ββββββββββββ
Each block's hash is stored in the next block
Transaction Confirmation
A transaction is considered more secure as more blocks are added after it. In Bitcoin, 6 confirmations (6 blocks mined on top) is considered secure. In Ethereum, finality is achieved differently through its Proof of Stake mechanism.