有意思,既然相信激活/无法激活 BIP-444的人都有强烈的信念,那么就用金钱来验证自己的信念吧! #BTC #CORE #knots
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. Code and example address below 👇
5,51 N
7
Nội dung trên trang này được cung cấp bởi các bên thứ ba. Trừ khi có quy định khác, OKX không phải là tác giả của bài viết được trích dẫn và không tuyên bố bất kỳ bản quyền nào trong các tài liệu. Nội dung được cung cấp chỉ nhằm mục đích thông tin và không thể hiện quan điểm của OKX. Nội dung này không nhằm chứng thực dưới bất kỳ hình thức nào và không được coi là lời khuyên đầu tư hoặc lời chào mời mua bán tài sản kỹ thuật số. Việc sử dụng AI nhằm cung cấp nội dung tóm tắt hoặc thông tin khác, nội dung do AI tạo ra có thể không chính xác hoặc không nhất quán. Vui lòng đọc bài viết trong liên kết để biết thêm chi tiết và thông tin. OKX không chịu trách nhiệm về nội dung được lưu trữ trên trang web của bên thứ ba. Việc nắm giữ tài sản kỹ thuật số, bao gồm stablecoin và NFT, có độ rủi ro cao và có thể biến động rất lớn. Bạn phải cân nhắc kỹ lưỡng xem việc giao dịch hoặc nắm giữ tài sản kỹ thuật số có phù hợp hay không dựa trên tình hình tài chính của bạn.