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
    – user103136
    Commented Aug 24, 2021 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;
    – Ethan
    Commented Aug 24, 2021 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 Commented Aug 24, 2021 at 8:33
  • @MichaelFolkson AGREE about best resource points.
    – Ethan
    Commented Aug 24, 2021 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
    Commented Aug 24, 2021 at 12:50

1 Answer 1

4

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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