Compile Multiple Contracts

milymily Member Posts: 3
Hi,
I have a set of 3 contracts, each in a separate file:
A.sol
B.sol
C.sol

The contract A import (through statement "Import" B.sol and use the Contract C provided by its address (var c=C(address)).

So I'm deploing first C.sol. After I cannot deploy A and B. What is the right procedure? It's important for me to mantains these contract separated.

NOTE: Now I can use only geth cli, and compile code as below:

var compiled=eth.compile.solidity(sourceA);
var contract = eth.contract(compiled.A.info.abiDefinition);
var myc=contract.new(...)

Please help me.
Sign In or Register to comment.