Nonce
A nonce is a number that’s used only once in crypto. It helps a blockchain keep calculations or transactions unique and secure.
What is a nonce?
The term nonce is short for “number used once.” Its exact role varies from one blockchain to another.
In Proof of Work, such as Bitcoin, miners keep changing the nonce as they try to find a valid hash. A hash is a fixed string of characters calculated from data. If the hash meets the network’s rules, the block can be checked and added to the blockchain.
On Ethereum, a nonce is a sequential number assigned to transactions from a single account. This lets the network process those transactions in the right order and prevents them from being processed twice.
An example of a nonce
Imagine you send two transactions from one Ethereum account. The account assigns each transaction a sequential number: a nonce.
This lets the network see which transaction should come first. It also prevents the same transaction from being carried out again. In this case, the nonce works like a sequence number, not as part of mining.
Why is a nonce important in crypto?
In news about Bitcoin mining or Proof of Work, a nonce is part of the calculations miners use to try to find new blocks. Other nodes can then quickly check whether the block meets the rules.
The repeated search for a valid hash takes a lot of computing power and energy. That’s a drawback of Proof of Work mining, not of the nonce itself.
On Ethereum and similar networks, the nonce mainly helps put transactions in the right order. A nonce says nothing about a crypto’s price or future price movements.