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,330 points
60 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,050 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
22 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 1, 2018 in Blockchain by Shashank
• 10,330 points
19 views
0 votes
1 answer
0 votes
1 answer
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
66 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
93 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 26, 2018 in Blockchain by Johnathon
• 9,050 points
97 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 26, 2018 in Blockchain by Johnathon
• 9,050 points
58 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.