Closed UrsZeidler closed 7 years ago
Interesting idea. If we want to go this road, I think we need to think a bit more what represents a CompilationResult.
I want to keep the API as neutral as possible so using the EthereumJ class is suboptimal I think.
I would take the idea a bit further and try to create an abstract interface to deploy a smart contract. This could be the source code, compiled raw data, any other thing ...
Actually I had to do that for me to remove duplicated code for compilation
Why not provide a way to deploy the contracts via org.ethereum.solidity.compiler.CompilationResult because a created and configured CompilationResult could be make from every parser by hand (hardcoded) also by tool.
This would helps a bit for #36 and followings because the solc compiler did the resolving, and also for #50 as it give a way to use the own compiler not a provided one.(Maybe you want to build the compiler your self.)