Return-Path: <robin@zerosync.org> Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2AF51C0029 for <bitcoin-dev@lists.linuxfoundation.org>; Thu, 22 Jun 2023 11:49:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id ECA2383422 for <bitcoin-dev@lists.linuxfoundation.org>; Thu, 22 Jun 2023 11:49:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org ECA2383422 X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -0.499 X-Spam-Level: X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SfCsFvL-pWYB for <bitcoin-dev@lists.linuxfoundation.org>; Thu, 22 Jun 2023 11:49:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org F1B9783276 Received: from www382.your-server.de (www382.your-server.de [78.46.146.228]) by smtp1.osuosl.org (Postfix) with ESMTPS id F1B9783276 for <bitcoin-dev@lists.linuxfoundation.org>; Thu, 22 Jun 2023 11:49:44 +0000 (UTC) Received: from sslproxy06.your-server.de ([78.46.172.3]) by www382.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <robin@zerosync.org>) id 1qCIon-000JZR-Su for bitcoin-dev@lists.linuxfoundation.org; Thu, 22 Jun 2023 13:49:41 +0200 Received: from [2001:9e8:8a61:3800:6409:1453:5c19:77b6] (helo=smtpclient.apple) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <robin@zerosync.org>) id 1qCIon-000MRh-PA for bitcoin-dev@lists.linuxfoundation.org; Thu, 22 Jun 2023 13:49:41 +0200 From: Robin Linus <robin@zerosync.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Date: Thu, 22 Jun 2023 13:49:41 +0200 References: <A291D224-2C72-4A30-AB95-56DB79221E3A@zerosync.org> To: bitcoin-dev@lists.linuxfoundation.org In-Reply-To: <A291D224-2C72-4A30-AB95-56DB79221E3A@zerosync.org> Message-Id: <F24818BB-2D29-44FE-9020-EA2EFDD2E55A@zerosync.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Authenticated-Sender: robin@zerosync.org X-Virus-Scanned: Clear (ClamAV 0.103.8/26947/Thu Jun 22 09:29:54 2023) X-Mailman-Approved-At: Thu, 22 Jun 2023 11:50:54 +0000 Subject: [bitcoin-dev] Some Day Peg: A crazy two-way peg bridging BTC to other chains Raw X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org> List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> X-List-Received-Date: Thu, 22 Jun 2023 11:49:46 -0000 --Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi all, Here's an interesting but not-so-serious attempt to implement a two-way = peg in Bitcoin Script. https://gist.github.com/RobinLinus/1102fce176f3b5466180addac5d26313 = <https://gist.github.com/RobinLinus/1102fce176f3b5466180addac5d26313> -Robin --Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi = all,<br class=3D""><div><div class=3D""><br class=3D""></div><div = class=3D""><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii" class=3D""><div style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div = style=3D"margin: 0px; font-stretch: normal; font-size: 13px; = line-height: normal; font-family: "Helvetica Neue";" = class=3D"">Here's an interesting but not-so-serious attempt to implement = a two-way peg in Bitcoin Script.</div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 13px; line-height: normal; font-family: = "Helvetica Neue";" class=3D""><a = href=3D"https://gist.github.com/RobinLinus/1102fce176f3b5466180addac5d2631= 3" = class=3D"">https://gist.github.com/RobinLinus/1102fce176f3b5466180addac5d2= 6313</a></div><div style=3D"margin: 0px; font-stretch: normal; = line-height: normal;" class=3D""><font face=3D"Helvetica Neue" size=3D"2" = class=3D""><br class=3D""></font></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span = style=3D"font-family: "Helvetica Neue"; font-size: small;" = class=3D"">-Robin</span></div><div style=3D"margin: 0px; font-stretch: = normal; line-height: normal;" class=3D""><font face=3D"Helvetica Neue" = size=3D"2" class=3D""><br class=3D""></font></div></div></div></div><br = class=3D""></body></html>= --Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF--