I have now fully open sourced the code which creates this on-chain BIP-444 futures contract!

The contract starts with an atomic deposit into the contract address of 1 BTC each (to make sure both parties put in the same amount into the contract address).

Context: BIP-444 makes the use of OP_IF & OP_NOTIF consensus INVALID upon activation.

The contract is built as follows:

The taproot address uses the NUMS point as described in BIP341, to provably show the key path is not active.

We have two parties, a "YES" (444 activates) and "NO" (444 does NOT activate). YES and NO for short.

The first leaf is a 2 of 2 multisig of both parties. This exists to be able to self send the UTXO AFTER BIP 444 activates. This is because BIP-444 just added a clause that UTXOs created before activation will NOT have the BIP-444 consensus rules applied to them. This self send removes that exception.

The second leaf: has 2 ways you can spend with it, a 2 of 2 (YES and NO) multisig, just like the first leaf OR the NO party, with a time lock which is LESS THAN the third tap leaf. This is important because it uses OP_NOTIF

The Third Leaf: The YES party can spend, after a time lock AFTER the second leaf.

The order of the timelocks is important. If BIP-444 activates, the spending condition that can spend before you will be consensus invalid, so it doesn't matter if you believe 444 activates.

So to summarize:

- If BIP-444 DOES activate, the party who believes it will be able to use the second tap leaf to get 2 BTC out.

- If BIP-444 DOES NOT activate, the party who believes that will use the third tap leaf to get 2 BTC out.

Since each side is highly confident in their position, the fair market price is a 1:1 ratio, implying 50% likelihood.

With 85 days until activation, this contract as written gives you an implied ~430% APY on your bitcoin! The risk is being incorrect on your opinion of BIP-444 activating.

You could modify the collateral each side puts up to get different implied odds of the futures contract as well.

Github: https://github.com/Rob1Ham/BIP-444-Futures

Address: https://mempool.space/signet/address/tb1p07flh4waghmkeep0l20nf2tyn4tw9wy3w4j5vkrf6mue9ddtakgsgc5clr

Anyone who wants to take the BIP-444 WILL activate side, let me know! The Author of the BIP has agreed to this, I have already asked for a larger bet size beyond the 1 BTC I initially proposed, but I have more!

Reply to this note

Please Login to reply.

Discussion

Dathon Ohm agreed to do this with you!? Nice. I hope you can link to the transactions when it's set up

I've kinda ignored the details of Bitcoin Script, this might be a little project to get me into studying it 📚

I'm worried you're spending too much time on this

That’s quite cool to get everything on chain

This is wild. Who ever is going to be right at the end: This is just beautiful to watch.

Nice work Rob .. time for the inflooencers to put their money where their mouths are

“You have all your savings in bitcoin?”

“That’s right Dave.”

“and you can’t even pay your bills because all your bitcoin is locked up in a smart contract which is betting on a fork and it pays 430% APY?”

“That’s right Dave.”

nostr:nevent1qqstzzvd2x0fs29dxpf5kqxwnyvdch9l50gqhhazpu00e8w6wwrqgls4aw3mz

More gambling addiction? Just what botcoin needed.

Brother - the gambling is forking off the network

You could have each party run a cashu mint on top of this and could trade the shares as a liquid prediction market.

👀 nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg

nostr:nevent1qqstzzvd2x0fs29dxpf5kqxwnyvdch9l50gqhhazpu00e8w6wwrqgls4aw3mz

I thing a dirty information war is upon us regarding the “soft fork BIP-444” an no need to poor more oil into the fire 🔥

I would prefer a more educational approach.

Encouraging gambling as a solution for a problem is pretty sus to say the least. There are better and more mature ways to settle a dispute.

A duel perhaps.

Nope. For those of you newer to Bitcoin, the last time there was a contentious fork, a futures market in 2017 was put up by Bitfinex.

put up or shut up

Thought I was going to learn a totally new Bitcoin feature, then I realized the guy just invented betting on BIPs 😂

How about both?! 😂

⚠️We make the Perfect replicas from Passports and 🆔🪪 from Spain and Belgium.

🪄We produce them from scratch providing you a brand new identity to travel safe or even open offshore bank accounts.

😎Escrow payment of your choice!

😀You can even open online bank accounts with it as it passes the scans in the registration step.

📱Live video proof of the making process✌🏻

DM for more information. 🙏🏻

Let's see if the author of the BIP really puts sats behind his words. It's a digital-only new account so it's easy to throw words when long-term you're not risking reputation.

Fun fact the number 444 represents death on Chinese culture, which are the majority of miners. Let alone nostr:nprofile1qqs0m40g76hqmwqhhc9hrk3qfxxpsp5k3k9xgk24nsjf7v305u6xffcpp4mhxue69uhkyunz9e5k7tcpzemhxue69uhk2er9dchxummnw3ezumrpdejz7l3vw43 fork will make your Bitcoins on taproot trees frozen forever.

It's a good choice for a softfork aimed to kill Bitcoin.

nostr:nevent1qqstzzvd2x0fs29dxpf5kqxwnyvdch9l50gqhhazpu00e8w6wwrqglszyr8d4wqmush0gldaueflfwn6kfdv823jelptvuhwp7yup7hcstcnuqcyqqqqqqg0pz4ua

Liar

No u

Luke’s here at mining disrupt, Rob. If you need any messages delivered in person.

In what way is that a lie?...