Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 42DB9C000E for ; Thu, 26 Aug 2021 08:12:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 31A9860B58 for ; Thu, 26 Aug 2021 08:12:31 +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: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1mxOZaekkKbk for ; Thu, 26 Aug 2021 08:12:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 5DF5F6076C for ; Thu, 26 Aug 2021 08:12:26 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id p38so5164746lfa.0 for ; Thu, 26 Aug 2021 01:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=owP1Zdh1OARrqgEOYYgKELm2TuCkkRP5oPALs8SqsLc=; b=IS6wfJXQNWSsJLANB5o3a8WIIDXxEFm1CZls72VUli8rg8XcS0hxdSLzY9o/jSuX6T jvNlVv5HtUV9xZzwCVsIy3hmY+VZL/cBu8QckYPWPMOZUq+s66Z5S/RJ2DcAPtSvO+JW Y5hwSajKi4LxRhEScCrXtlKLLMDUEzWyVD3P4zBfm8XuSvskG6Le8qT60yUq3VnMLm7B cTfxhhbObbE4j0rCh76gnRSc52F6oU3dd5msTfd56OLmOSXoXuIIJAUh7w07tzDrrcn0 JkHH6ZEu/PZJeONmRFx+TjwIBvFommRi/rFdCUeUIcoUJNyVVVxT0rgcXnoVejsy1uOr QehA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=owP1Zdh1OARrqgEOYYgKELm2TuCkkRP5oPALs8SqsLc=; b=HhBFj8tVWqRxzePHZ16XoWUssMW3a0GHAb2HN8SuFp6FpsZUqu4PD/WeodhJ6K6u9g GkUwJeJjZcPwnCdxr+uyZ6g7v2F+5RKuy7vsklISWTB2tKqou0XEbEQ2KHTj0wBXFfqH R+4hH4l6Us5ypHi/yMO7U6qM8V9eJ9HNjVDocnlv8puZA0gg1VTqJ+R8LyhvI05osW6d rGQKKu9aBOp7CEi2ORCqVOh+MQgTvRa93PZLDBLoMtfwP+HLl9T4nEbcXYye+nRBkQ8A t1hCQjGLhpgiFuGhDazCImVAd38LwfrSdW5aiJKQY3nL5ohl/DiNqJBxcjnIIgxAu51c j2AA== X-Gm-Message-State: AOAM533V4hk5RpaqVHR73iCWfIYiUwjdtuaSF6MeHF5y+EaZ88/2VC/D /ivGLWBT3uAqYd/hdhDUMU9yjveTOJUUunvT X-Google-Smtp-Source: ABdhPJxvYHIL6k0d0CgHFFeOm8s7K4jGzaERrU+AQ0EmnAM4w34vqhgPU9iRpiR0zH2vHpFEo7c3kw== X-Received: by 2002:a05:6512:ac7:: with SMTP id n7mr1850152lfu.479.1629965544060; Thu, 26 Aug 2021 01:12:24 -0700 (PDT) Received: from smtpclient.apple (mad-bkon.cust.smartspb.net. [93.190.225.186]) by smtp.gmail.com with ESMTPSA id h22sm269397lfu.70.2021.08.26.01.12.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Aug 2021 01:12:23 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) From: Oleg Andreev In-Reply-To: Date: Thu, 26 Aug 2021 11:12:22 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <7491EAD3-9335-47B6-B48A-3B544CA605FC@gmail.com> References: To: Bitcoin Protocol Discussion X-Mailer: Apple Mail (2.3654.120.0.1.13) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2021 08:12:31 -0000 It is worth checking out Ivy lang Playground by Dan Robinson, but AFAIK, = it's not actively maintained. It compiles contracts to Bitcoin Script: = https://www.ivylang.org/bitcoin > On 24. Aug 2021, at 16:08, Andrew Poelstra via bitcoin-dev = wrote: >=20 >=20 > Simplicity does not compile to Bitcoin Script, and Sapio assumes = extensions > to Bitcoin Script that are not currently part of the consensus code. >=20 >=20 > On Tue, Aug 24, 2021 at 03:36:29PM +0800, Gijs van Dam via bitcoin-dev = wrote: >> Hi, >>=20 >>=20 >> Bitcoin does not have a virtual machine. But you do have = [Miniscript][1], >> [Min.sc][2], [Simplicity][3] and [Sapio][4]. These are all higher = level >> languages that compile to Bitcoin Script. Sapio is "just" Rust, so = that >> might fit your setting best. >>=20 >> By the way, this question also has an answer on [Bitcoin = Stackexchange][5] >> which is a great resource for questions like this. >>=20 >> [1]: http://bitcoin.sipa.be/miniscript/ >> [2]: https://min.sc/ >> [3]: https://github.com/ElementsProject/simplicity >> [4]: https://learn.sapio-lang.org/ >> [5]: >> = https://bitcoin.stackexchange.com/questions/108261/is-there-a-tool-like-et= hereum-evm-at-present-for-bitcoin-script >>=20 >> On Tue, Aug 24, 2021 at 2:55 PM Null Null via bitcoin-dev < >> bitcoin-dev@lists.linuxfoundation.org> wrote: >>=20 >>> Hi all, >>>=20 >>> Is there a tool like Ethereum EVM at present? Users can write = bitcoin >>> scripts in a syntax just like python(or like other programming = language); >>> through this tool, they can be translated into bitcoin original = scripts; it >>> sounds like a new programming language has been invented. >>>=20 >>> In my opinion=EF=BC=8C Bitcoin script programming is based on = reverse Polish >>> expression; this is not friendly to programmers; >>>=20 >>> In fact, Bitcoin's opcode expression ability is very rich, and it = may be >>> unfriendly, which has affected the promotion of Bitcoin in the = technical >>> community. >>>=20 >>> Hope for hearing some voice about this. >>>=20 >>> Best wish. >>>=20 >>> _______________________________________________ >>> bitcoin-dev mailing list >>> bitcoin-dev@lists.linuxfoundation.org >>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >>>=20 >=20 >> _______________________________________________ >> bitcoin-dev mailing list >> bitcoin-dev@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >=20 >=20 > --=20 > Andrew Poelstra > Director of Research, Blockstream > Email: apoelstra at wpsoftware.net > Web: https://www.wpsoftware.net/andrew >=20 > The sun is always shining in space > -Justin Lewis-Webster >=20 > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev