I'm trying to look into the Ethereum repository but I can't find a file for the functions. I want to know how selfdestruct() is implemented, but I also would like to look at other functions.

1 Answer 1


The selfdestruct() method is a function that's provided by the Solidity compiler, so it's a Solidity language feature, not an Ethereum (virtual machine) function. So the source code you want to be looking through to find out how it's actually accomplished is the Solidity compiler.


Your Answer

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

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