The basis of Bitcoin's security lies in its peer-to-peer nature. However, this very design can be manipulated to create a phenomenon known as double spending. Double spending occurs when a identical Bitcoin is transacted multiple times, {potentially significant economic loss. To grasp this risk, it's essential to delve into the mechanics of Bitcoin