Warning: SPDX license identifier not provided in source file

From Solidity ^0.6.8 SPDX license is introduced. So you need to use SPDX-License-Identifier in the code.

Have a look at this: https://forum.openzeppelin.com/t/solidity-0-6-8-introduces-spdx-license-identifiers/2859

For example in your code you need to use license identifier like

// SPDX-License-Identifier: MIT
pragma solidity ^0.7.5;
contract TestContract {
// Some logic
}

You need to use license according to your project. Some other licenses are:

// SPDX-License-Identifier: GPL-3.0-or-later

You can find list of licenses here:
https://spdx.org/licenses/

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)