Is there a decompiler that will convert Solidity byte code back into source code? I am wondering how to verify code of contracts that are published to the blockchain.
Asked
Active
Viewed 3,182 times
2
-
Please also take care to ask a single question :) 2nd question is answered here – eth May 19 '16 at 20:36
1 Answers
1
There is no decompiler to Solidity. This is in principle possible to some degree, but for example variable names will be lost and great effort will be necessary to make it look similar to the original source code.
Bytecode can be decompiled to opcodes, a service that is provided by several blockchain explorers.
Contracts on the blockchain should have their original source code published if they are to be used by third parties.
Retrieved from: http://solidity.readthedocs.io/en/latest/frequently-asked-questions.html
Raine Revere
- 3,600
- 2
- 23
- 34
-
This is no longer accurate, please refer to duplicate question link in comment on original question above. – pfrank Aug 28 '17 at 01:08