Bitcoin Mining is the process of verifying and adding transactions to the public ledger, known as the blockchain. This ledger…