https://jsfiddle.net/amountbrian60/qtdkw8y3/
In contrast, cryptocurrencies function on a decentralized community of computers, known as nodes. When a transaction is made, it is broadcast to the community and grouped with other transactions into a block. The first miner to resolve the puzzle will get to add the block to the blockchain and is rewarded with new cryptocurrency coins. Miners use highly effective computers to resolve complicated mathematical issues, which validate transactions and add them to the blockchain. Miners then compete to resolve a cryptographic puzzle. Mining rewar