0

I have a problem understanding Ethereum's fundamental concept of EVM.

Is EVM an identical VM created by each user(node) in their enviroment(PC) which has a specific architecture(state etc, I get that), and each user "works" on it by trying to follow the strict rules that the architecture specifies?

That's the simplistic explanation I arrived at after hours of reading about it.

I understand that there are a lot of intermediate things that need to be said for this definition to be complete but at the specific moment, I am looking for a high-level explanation.

I am trying to get my fundamentals on solid ground before getting into the more advanced topics.

1 Answer 1

0

Ethereum Virtual Machine is in fact very simple system and in its core is is just a code interpreter. In fact, it consists of Program Counter (PC), Execution Stack, Memory and Gas Counter. In addition it also has a reference to the EVM code and Contract Account Storage. Every full node on the Ethereum network runs the instance of EVM and every single active node executed all of the broadcasted transactions to verify that it has the same state as all other nodes - that is how we reach consensus in the terms of the data accuracy, everyone has to have the same.

4
  • Thanks a lot for the detailed answer @Boki XD. Just to clarify, as I stated it is in fact a Virtual Machine (simple as you explained in a great manner, and thanks for that) that everyone has an instance of. So per my understanding, my definition stands valid (even if its not detailed enough)?
    – CC_Zio
    Oct 2, 2022 at 18:50
  • More clear, it's a good base definition to have in my mind for EVM as i wander through the eth universe, right? Thanks in advance @Boki XD
    – CC_Zio
    Oct 2, 2022 at 18:51
  • I find your definition a bit vague, and would maybe put is simply like this. You can think of this EVM as a small dumb computer that executes smart contracts. It only does that - takes instruction by instruction and runs it. Every Ethereum client has that small computer that does this execution of the contracts. That small computer is equal for every Ethereum node - or better said, does the same thing. Hope this help and would appreciate if you accept my answer.
    – Boki XD
    Oct 2, 2022 at 19:13
  • Great, now I'm covered. Respect.
    – CC_Zio
    Oct 2, 2022 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.