When importing a solidity file, the file path follows a few simple syntax rules:
- Absolute paths: /folder1/ folder2/xxx.sol starting from /, the path location is from same solidity file location to the imported files. In our ERC 20 example, this is shown as follows:
import 'zeppelin/contracts/math/SafeMath.sol';
The actual project structure appears as follows: