By Matt Hussey
4 min read
The Ethereum Virtual Machine (EVM) has been described as a global supercomputer. It takes all the transactions your computer could do: send and receive things like cash, documents and contracts and transforms them on a global scale.
Here's how it works.
Think of Bitcoin like a basic version of what a blockchain can do. You have a unit of value, BTC, and you can send and receive bits of that value between you and other people. The Bitcoin blockchain records all of those transactions permanently.
Ethereum took that concept and allowed people to build smart contracts and decentralized apps (dapps) on top of its blockchain.
Once Ethereum supported smart contracts, the next step was to create an environment where all those smart contracts live and interact with each other. That’s where Ethereum’s Virtual Machine (EVM) comes in.
EVM is best thought of as a virtual computer on the blockchain that turns your ideas into code, and runs it on the global Ethereum network.
For a concrete example, let’s say you want to create a way for you and three roommates to buy things for the house you live in. You are essentially building your own smart contract.
There are a number of things you want your smart contract to cover.
Now, let’s say you want to allocate certain amounts of money every week for house supplies. You create a separate smart contract that says:
Then let’s say you want to buy a TV, but some of you only want to contribute a certain amount of money towards it. Here comes another contract. That contract says:
These contracts all rely on an awareness of the contracts that come before them. This is the Ethereum Virtual Machine. It's like a messaging service for smart contracts; an environment where all these contracts live, interact and influence each other,
The above is a very simple real-world example of what smart contracts can achieve. But the Ethereum Virtual Machine opens up a wide range of more complicated possibilities.
Much like the website you are reading this article on, the EVM is built on a coding language; famous ones that already exist include Java, Python and Ruby.
The EVM has its own, called Solidity. It’s a language that lets people build smart contracts that can interact with other smart contracts easily.
We are just at the beginning of the virtual machine. In the future, the complexity, speed, and ability of the virtual machine will increase, much like the computers from the beginning of the PC era became faster and more able to do complex digital actions.
Decrypt-a-cookie
This website or its third-party tools use cookies. Cookie policy By clicking the accept button, you agree to the use of cookies.