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
977 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?

Hyperledger Fabric has 2 basic types of ...READ MORE

answered Aug 1, 2018 in Blockchain by Christine
• 15,790 points
656 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, 2022 in Blockchain by Rahul
• 9,680 points
594 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, 2022 in Blockchain by Rahul
• 9,680 points
785 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
747 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
1,947 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
1,468 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,471 views
+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
1,222 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
2,018 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP