5 - SPDX
Solidity source files are recommended to start with a comment indicating its license e.g.:// SPDX-License-Identifier: MIT
, where the compiler includes the supplied string in the bytecode metadata to make it machine readable. SPDX stands for Software Package Data Exchange.
- SPDX License Identifier
- Soft Package Data Exchange
- Comment -> License File Beginning
- // SPDX-License-Identifier: AGPLv3
- Compiler -> Bytecode Metadata