I have two contracts (i.e. contractA
, contractB
) located in different files (i.e, contractA.sol, contractB.sol) to deploy. The contractB
is dependent on contractA
. In contractB.sol,
import "contractA";
The contractA
has been deployed successfully to Testnet with Ethereum Wallet by putting source of contractA
in tab "SOLIDITY CONTRACT SOURCE CODE". When contractB
was deployed, Ethereum Wallet complained:
Could not compile source code. Source "contractA.sol" not found.
How to fix it?