2

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.

In my opinion, Bitcoin script programming is based on reverse Polish expression; this is not friendly to programmers;

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.

8
  • I agree with Murch. Would like to add: You don't need EVM for programming languages that helps in easier bitcoin scripting. EVM helps in parallel processing and even that can be achieved without EVM: link.medium.com/DKaOm7hxYib
    – Prayank
    Aug 24 at 6:07
  • @Prayank sorry sir, Maybe I misled you by using EVM; indeed, what I want to know is whether there is a bitcoin script compiler that allows programmers to write scripts in a high-level language programming mode; this question may be more appropriate;
    – Yihen
    Aug 24 at 6:16
  • As Murch says below, check out Miniscript (encoding of Script), Policy or Minsc for a higher level language for writing scripts. Best resource on Miniscript and Policy is bitcoin.sipa.be/miniscript. Best resource on Minsc is min.sc Aug 24 at 8:33
  • @MichaelFolkson AGREE about best resource points.
    – Yihen
    Aug 24 at 9:32
  • FYI, EVM is also reverse Polish notation, although there exist compilers from higher-level languages. The same is possible in principle for bitcoin script, although by design, only a very restricted subset of the things that are possible with EVM are possible with bitcoin script.
    – James_pic
    Aug 24 at 12:50
3

People creating smart contracts on a cryptocurrency network are designing cryptographic protocols—frankly, it might be a good thing if not every JavaScript programmer takes a go at that. Bitcoin does not have a virtual machine, but there are Miniscript, Minsc, or Sapio as higher level languages that translate to script. Additionally, there is an on-going development effort with Simplicity as a language specifically engineered to express smart contracts with provable outcomes.

And if you insist on EVM, check out RSK.

2
  • 1
    nit: Simplicity isn't a higher level language that translates to Script. It is a low level potential replacement for Script. But the point about not needing to interact with Script directly is what you're getting at. Aug 24 at 7:37
  • Thanks, good point, I've updated my answer.
    – Murch
    Aug 24 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.