Why do we use virtual machine for running smart contracts

0 votes
Can I write smart contract in javascrips and run it on nodejs. Or do I need specific environment to deploy smart contract.
May 23, 2018 in Blockchain by Shashank
• 10,400 points
403 views

1 answer to this question.

0 votes

You can write smart contracts in any language you want. Think of them simply instructions on how to modify the state of the decentralized database. You can accomplish this in any language as long as the nodes are able to run your instructions.

As a side note, don't think of the Ethereum Virtual Machine as a virtual machine in the traditional sense; this will lead to a lot of confusion. I suggest taking a look at the white paper. It's fairly straight forward as an overview, and if you're feeling adventurous, the yellow paper is a more formal description.

answered May 23, 2018 by Johnathon
• 9,090 points

Related Questions In Blockchain

0 votes
1 answer

Where do we execute Smart Contracts on Hyperledger Fabric?

Take a look here: http://hyperledger-fabric.readthedocs.io/en/latest/txflow.html Hyperledger Fabric has 2 ...READ MORE

answered Aug 1, 2018 in Blockchain by Christine
• 15,790 points
173 views
0 votes
1 answer

Why do we not use Istanbul Byzantine Fault Tolerance (IBFT) in Public Blockchains?

The use of the IBFT consensus involves ...READ MORE

answered Mar 24 in Blockchain by Rahul
• 8,980 points
35 views
0 votes
1 answer

Why do we not use Istanbul Byzantine Fault Tolerance (IBFT) in Public Blockchains?

The use of the IBFT consensus involves ...READ MORE

answered Apr 11 in Blockchain by Rahul
• 8,980 points
27 views
0 votes
1 answer

What could be the best term to use for the collection of contracts in a .sol file?

module - don't think so. Because module ...READ MORE

answered Jun 2, 2018 in Blockchain by Shashank
• 10,400 points
222 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
917 views
+3 votes
2 answers

How to run ethereumjs using Node.JS

You need to install testrpc globally on ...READ MORE

answered Mar 27, 2018 in Blockchain by ned_crew
• 1,610 points
557 views
0 votes
1 answer
+15 votes
2 answers

What are the various blockchain smart contracts platforms?

While Ethereum is the most popular platform ...READ MORE

answered Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
400 views
+1 vote
1 answer

How to deploy ethereum smart contracts on a website?

There are many ways to do this: 1 ...READ MORE

answered Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
1,144 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP