0

Is there a solution to recover the complete bytecode (init + runtime) of a contract imported in solidity. For example "bytes code = getBytecode (Escrow.sol)" and this would be replaced by bytecode during compilation? thanks a lot for your help

0

Surely it is immediate using Remix. Just a click on “detail”, then “bytecode”

  • Thank you for your answer. but I'm looking for something automatic in the code of solidity. for example in solidity when you do "new Escrow ()" you do not need to give the bytecode. the problem is that "new" will deploy the contract whereas I just want the bytecode. – Zoulg Jan 12 at 10:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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