Vanilla JS based Ethereum competitor - is there anything out there?

Viewed 100

I'm wondering if there is any serious competitor to Ethereum that's a little easier to use - meaning you don't have to learn yet another programming language (like solidity for ETH) if you know javascript already. The idea is great, but I'd be really interested in an alternative that I can use straight away with vanilla js. Any ideas?

1 Answers

In theory you can write smart contracts in any programming language as long as you can compile down to virtual machine code.

In the practice, you cannot write smart contracts in JavaScript, because language run-time features make it unsuitable for the task. Because JavaScript is unsuitable for the task in the first place, no one is going to give you tools to write contracts in JavaScript. Writing smart contracts is vastly different from web programming. You need to understand that there is a long multi-year road of learning for you regardless of what you do.

The closest thing you get: NEAR protocol supports AssemblyScript that is a derivate of TypeScript.

Related