Mining serves as the bedrock role in the fabric of Bitcoin, guaranteeing its decentralized nature. It involves the intensive process of confirming transactions on the blockchain, which is essentially a shared ledger recording all Bitcoin transactions. Miners harness cutting-edge computers to solve complex mathematicalpuzzles, competing against each