Trustless hash-price insurance contracts



Summary:

The context discusses a trustless insurance contract for miners that guarantees minimum profitability of their mining operation in case Bitcoin/hash price goes too low. The problem is that if hash-rate goes up too much, the miner will have a loss. An insurer can negotiate a contract with the miner implemented as a Bitcoin transaction where they deposit funds and pay a premium respectively. There are three conditions for paying it: after expiry date, both miner and insurer can spend at any time by mutual agreement, or before expiry, miner can spend by providing a pre-image that produces a hash within certain difficulty constraints. The implementation issues arise due to the inability to do arithmetic comparison with long integers >32bit in the script, so the difficulty requirement needs to be hacky. The hashes of one or more pre-images with a given short length are used and the miner has to provide the exact pre-images. The pre-images are chosen by the insurer, and an honesty deposit or other mechanism is required to punish the insurer if he chooses a hash that doesn't correspond to any short-length pre-image. The insurance could end up paying out against realized profit but generally speaking, insuring investment is a zero-sum game. If hashing becomes cheap enough, it becomes profitable to spend resources finding a suitable pre-image, rather than mining Bitcoin. It guarantees a minimum profitability of the mining operation and decreases the costs (decreased risk) for potential new entrants on the edge of jumping in. An analogy would be car insurance, where if you're an excellent driver, you wouldn't be willing to spend a ton of money to protect your car in the event of an accident, but if it's cheap enough, you would.


Updated on: 2023-06-13T21:57:09.037933+00:00