3 ms·
as a complete newbie to this, where does the code actually execute? what's the code writen in? whats stopping malicious code running?
by 123pie123 5y ago
as a complete newbie to this,
where does the code actually execute? what's the code writen in?
whats stopping malicious code running?
- hobofan 5y ago> where does the code actually execute? what's the code writen in? On every Ethereum node that verifies it. It's usually written in Solidity and compiled to EVM (Ethereum Virtual Machine) bytecode (so it can also be written in other higher-level languages). > whats stopping malicious code running? It's sandboxed and since it's limited to the EVM, there isn't really any "malicious" code that could break out of the EVM AFAIK. Inside the EVM it's probably more of a philosophical question whether any code can actually be considered "malicious".
- 123pie123 5y agothanks - I'll do some research on this if the code is sandboxed, then what useful things can it do?
- 3r8Oltr0ziouVDM 5y agoIt can modify the state of the blockchain based on the inputs.