0

I stupidly lost my smart-contract source code due to a PC crash and was unable to recover it. I have an old version saved but much of the work I've done is lost. Luckily, I have the ABI, ByteCode, and all the necessary addresses.

Is it possible to rebuild the source-code of my smart-contract with all of this information? I was looking at various tools online for decompiling bytecode but I found nothing conclusive.

Thanks!

1 Answer 1

1

There's no way to get the exact actual source code. But what you can get is some sort of a source code, by reverse engineering the bytecode. It won't be pretty, and the process may be difficult, but at least in theory it should work.

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.