I have two contracts, one implements another. When I save them both in the same .sol file and try and compile I get "solc error: exit status 1". How do I compile these so I can call the functions?
contract ContractA {
ContractB contractB;
function createContractB() {
contractB = new ContractB();
}
}
contract ContractB {
}
0 ·
Comments