POW NFT — Intro to Mining

What is mining?

What is a hashing algorithm?

Hashes in proof-of-work mining

Mining NFTs

hash = uint(keccak256(abi.encodePacked(address miner,bytes32 previous_hash ,uint nonce)));
difficulty = BASE_DIFFICULTY / (DIFFICULTY_RAMP**generation);
if(generation > 13){
difficulty /= (tokenId - 2**14 + 1);
uint BASE_DIFFICULTY = uint(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)/uint(300);
generation = floor(log2(tokenId));

The Difficulty Bomb

Start mining NFTs in your browser



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store