brainax

What is crypto mining? A simple explanation

Short answer: crypto mining is how some blockchains, Bitcoin first of all, add new blocks of transfers. Miners' computers race to solve a hard puzzle. The winner writes the next block and gets a reward in new coins plus fees. That is how the network stays honest without a bank in the middle. This is education, not investment advice.

Free course on this topicCrypto: free courseStart the course →

What does a miner actually do?

Transfers are packed into batches called blocks. Each block has a hash, a short digital fingerprint of everything inside it, and stores the previous block's fingerprint, so the blocks form a chain. Change one digit in an old block and the whole chain after it stops matching.

Someone has to build each new block. In Proof of Work (PoW) that someone is a miner: computers race to solve a hard puzzle, and the winner writes the block and earns a reward. Bitcoin adds a new block about every 10 minutes. Same source.

What it means for you: once a transfer is in a block, it is nearly impossible to change, and it cannot be cancelled. Send coins to the wrong address and they are gone.

More in the lesson: How a blockchain works

Why does bitcoin mining use so much electricity?

Because the puzzle is the security. To fake a record, someone would have to redo that work faster than the honest miners, which is close to impossible and very expensive. The price of that protection is energy: PoW "uses a lot of electricity".

Bitcoin mining runs on the SHA-256 hash, and today it is done by specialised machines called ASIC miners.

More in the lessons: How a blockchain works, Q-Day and your crypto

What is the difference between mining and staking?

In Proof of Stake (PoS) there are no miners. Validators lock up their own coins as a deposit and earn rewards for honest work. Cheat, and part of the deposit is burned; this is called slashing.

Ethereum switched from mining to PoS on 15 September 2022 and, according to ethereum.org, now uses about 99.95% less energy.

More in the lessons: ETH staking: earning by securing the network, How a blockchain works

What is the bitcoin halving?

The halving is when the reward miners get for new blocks is cut in half. It is built into Bitcoin's rules. The May 2020 halving was one of the reasons often mentioned for bitcoin's rise from about $5,000 in 2020 to roughly $69,000 by November 2021, together with cheap money and the first big purchases by companies and funds. There was no single cause.

More in the lesson: QE: how the Fed floods markets with money

How do fees decide which transfer goes first?

A new transaction first waits in the mempool, a queue of unconfirmed transfers, until miners put it in a block. That takes about 10 minutes on average. When two transactions compete, miners pick the one with the bigger fee.

What it means for you: in a busy network a low fee means a longer wait. Always check the network and the fee before sending.

More in the lesson: Q-Day and your crypto

FAQ

How does crypto mining work?

Miners collect waiting transfers into a block and race to solve a hard puzzle. The first to solve it adds the block to the chain and receives new coins plus the fees from the transfers inside.

Is mining the same as staking?

No. Mining (Proof of Work) secures the network with computing power and electricity. Staking (Proof of Stake) secures it with a deposit of coins that can be partly burned if a validator cheats.

Does Ethereum still have miners?

No. Ethereum moved to Proof of Stake on 15 September 2022. Blocks are now checked by validators, and the network uses about 99.95% less energy, according to ethereum.org.

Learn crypto step by step

The free Brainax crypto course explains blockchains, wallets, staking and the main risks in short lessons with animations and a quiz. Start the lesson

Free course on this topicCrypto: free courseStart the course →