August 2019
Intermediate to advanced
486 pages
13h 52m
English
A Solidity source file can contain any number of contracts/library definitions in a single file. It is recommended that the developer should maintain the different source files for each contract/library definition to have the readability and code maintainability. The Solidity contract/library file extension is .sol, for example, SampleContract.sol.
The basic layout of the Solidity source file contains following in order: