Mining serves as the bedrock role in the ecosystem of Bitcoin, securing its decentralized nature. It involves the intensive process of verifying and transactions on the blockchain, which is essentially a distributed ledger recording all Bitcoin transfers. Miners harness cutting-edge computers to solve complex mathematicalpuzzles, competing against