DEV Community

LIANPR
LIANPR

Posted on

How Does Blockchain Work? Step-by-Step

How does a transaction go from a click to a permanent record?

Request: A user initiates a transaction (e.g., sending 1 ETH).

Broadcast: The transaction is sent to a P2P network of nodes.

Validation: Nodes check if the user has enough balance and valid signatures.

Mempool: Valid transactions wait in a "pool" to be picked up.

Block Creation: A miner/validator groups transactions into a block.

Consensus: The network agrees the block is valid (e.g., PoW or PoS).

Finality: The block is appended. The ledger updates globally.

Top comments (0)