Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2AF51C0029 for ; 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 ; 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 ; 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 ; 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 ) 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 ) id 1qCIon-000MRh-PA for bitcoin-dev@lists.linuxfoundation.org; Thu, 22 Jun 2023 13:49:41 +0200 From: Robin Linus 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: To: bitcoin-dev@lists.linuxfoundation.org In-Reply-To: Message-Id: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 = -Robin --Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = all,

Here's an interesting but not-so-serious attempt to implement = a two-way peg in Bitcoin Script.

-Robin


= --Apple-Mail=_0A232CDD-9D72-497E-B36E-723967303EBF--