I wanted to "Verify & Publish Contract Source Code" on BscScan, but I get this message:

ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "OR" to combine multiple licenses. Please see https://spdx.org for more information. --> myc

What should I do? I am new to this and the source code is from github

1 Answer 1


The only thing you have to do is removing all SPDX license identifiers and pragma solidity, then keeping only 1 SPDX license identifiers and pragma solidity on the top of the file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.