Return-Path: <michaelfolkson@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 6058FC000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 26 Aug 2021 13:10:05 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 4987E80F5F
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 26 Aug 2021 13:10:05 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: smtp1.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
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 lJkfoVeAJsYi
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 26 Aug 2021 13:10:01 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com
 [IPv6:2607:f8b0:4864:20::b33])
 by smtp1.osuosl.org (Postfix) with ESMTPS id 464E080F53
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 26 Aug 2021 13:10:01 +0000 (UTC)
Received: by mail-yb1-xb33.google.com with SMTP id n15so5763036ybm.12
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 26 Aug 2021 06:10:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=DvJkH8ceIGavMIY7X/Ei/8XzCfzCzGGO1Ff6eb1NT40=;
 b=ZS/HoNxrKQDsSX8ieVMKIhQslNfAhTsc7BMiRTML5qRjIP5QHthCl8sjt6hrCcURQm
 fddqBlNh5xxb0XNf9WxVpV7lf1xWIRsMleV8h7K3V+X/iTdXp1k9rYYrgU+N4wYXvBso
 PuDYRor10llSZLAp2r89Rl4Ixf1rvWb+gQxJBiZWEolUJeQoM739aKRq9F+u/eRtzQEv
 7uSltmGf3d3PcvpiOv+NUpUWHZq0IRU3pmnUnn1sGFvSDeFuRfeeqrIzt0Tlp7rUnKmR
 SQv7Fu5jB/5q2HMpUn04YBrLf60RhiytyaY+bgabJnraVzc5BUc6sOAtKwWMhUPtLGHi
 VcWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=DvJkH8ceIGavMIY7X/Ei/8XzCfzCzGGO1Ff6eb1NT40=;
 b=Yo36DetLI2nAav4vKm+jfM3YMzcopVBS2YmobNNf4H2fToxTdq4Ii1ddIpLJuelzoO
 2Neq91XfDHdC38l0jQDpSB7YH6BabcWRZaSaZqi0Hl+fmGZARIhCAII3Drv+Wp84MLAw
 SdP3mWF/4y0STfLloyYp16C+QZFLHeZHSeuQJN1Hq0MRQ6c1Pr19w2c00ScPSQebaouu
 G/sPUkrxo6H6S8LUa/NCndUA2QMvOIea6PIpO2lo0limewm2Ohy7hQVCZr/grlPl2400
 s4kaOk4+JIDLZQRKa2BlUJNdEUqWSPLa6XOhrk6Ugl9mKMQHw9keLmVq5d1iPFwo4h/K
 CaPw==
X-Gm-Message-State: AOAM530LF63czrZdWtdSNHBu9vswnMLbmxqrj9r2N2OeVeXlaIOTGhf/
 wcHOuqmzICU23HV2BQncP24dZJD5MFnk2RGicun/d/F3c1N/Xg==
X-Google-Smtp-Source: ABdhPJwZLdEEvXZnVOYjiLb+ZDqLoZnM2jlj/DzCnJYrJYTlnU2DMQejIaCADZ4ktoEtRyL02roR3QJmLlC13GicPWI=
X-Received: by 2002:a25:20c1:: with SMTP id g184mr5064379ybg.180.1629983399923; 
 Thu, 26 Aug 2021 06:09:59 -0700 (PDT)
MIME-Version: 1.0
From: Michael Folkson <michaelfolkson@gmail.com>
Date: Thu, 26 Aug 2021 14:09:49 +0100
Message-ID: <CAFvNmHQwifysNTumzoVj6+T8kTfj9Bcr3M1RZKuWRBQ7VRonCw@mail.gmail.com>
To: Jeremy <jlrubin@mit.edu>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"
X-Mailman-Approved-At: Thu, 26 Aug 2021 13:12:22 +0000
Subject: Re: [bitcoin-dev] Is there a tool like Ethereum EVM at present for
 Bitcoin script?
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, 26 Aug 2021 13:10:05 -0000

The "No Taproot" section of the Sapio docs need updating :) What are
your plans to take advantage of Taproot with Sapio? It would have been
interesting to see what a Taproot emulator would have looked like,
although no need for it now. It seems to me Taproot would have been
harder to emulate than CTV though I could be wrong.

https://learn.sapio-lang.org/ch05-02-taproot.html

Also there have been a number of people asking questions about Sapio
and CTV on the Libera equivalents of Freenode channels #sapio and
##ctv-bip-review over the past months. Do you plan to join and claim
those channels?

Date: Thu, 26 Aug 2021 03:26:23 -0700
From: Jeremy <jlrubin@mit.edu>
To: Andrew Poelstra <apoelstra@wpsoftware.net>, Bitcoin Protocol
        Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Is there a tool like Ethereum EVM at
        present for Bitcoin script?
Message-ID:
        <CAD5xwhgmAepA4jW3tK7nihMFsMEdgs0Z6UEs3k=3J1soDea0QQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This has actually never been true (Sapio assumes extensions).

If the extensions are not present, you can stub them out with a signing
federation instead, configurable as flags, and you can also write many
contracts that do not use the ctv based components at all.

The protocol for emulation is a bit clever (if I do say so myself) since it
ensures that contract compilation is completely offline and the oracles are
completely stateless.

Relevant links:

https://learn.sapio-lang.org/ch05-01-ctv-emulator.html
https://learn.sapio-lang.org/ch03-02-finish.html

Cheers,

Jeremy

-- 
Michael Folkson
Email: michaelfolkson@gmail.com
Keybase: michaelfolkson
PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3