Mining

The process in proof-of-work blockchains where computers validate transactions, add new blocks, and earn rewards like newly minted coins.

Mining is the process used by proof-of-work (PoW) cryptocurrencies to confirm transactions, create new blocks, and keep the blockchain secure. Miners run specialized hardware and software that compete to solve a computational puzzle. The first miner to find a valid solution earns the right to add the next block to the chain, and is typically rewarded with a combination of newly issued coins and transaction fees.

How mining works on a blockchain

In a PoW network, users broadcast transactions to the network, and miners gather these transactions into a candidate block. Miners then repeatedly hash the block’s data while changing a small input called a nonce, aiming to produce a hash that meets the network’s difficulty target. This trial-and-error race is what makes mining energy and hardware intensive.

Once a miner finds a valid hash, the block is shared with the network. Other nodes verify that the block follows the rules, including valid signatures, no double-spends, and an acceptable proof-of-work. If valid, the block is added to the blockchain, and the network moves on to the next block.

Rewards, security, and real-world context

Mining incentives are central to PoW security. Because producing proof-of-work has a real cost, an attacker would need substantial resources to rewrite history or censor transactions. For example, in Bitcoin, miners help keep the ledger consistent worldwide by making it economically and technically difficult to alter confirmed transactions.

Mining also affects network participation and decentralization. Large operations may use industrial-scale facilities, while smaller participants might join mining pools to combine hashpower and earn steadier payouts.

Mining matters because it is the mechanism that turns economic incentives and computation into transaction finality, coin issuance, and robust security for major PoW blockchains.