NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.16k stars 1.37k forks source link

Smart contract verification error #5521

Closed sarwat77 closed 1 month ago

sarwat77 commented 1 month ago

I made a smart contract with Remix, it's working fine as a smart contract but this the error on verification in BscScan.

ParserError: Expected pragma, import directive or contract/interface/library/struct/enum/constant/function/error definition. --> myc:1:1: | 1 | 6080604052348015600e575f80fd5b506128f58061001c5f395ff3fe60 ... | ^^^^^^^^^^^^^^^^^^^^^^^

schaable commented 1 month ago

Hi @sarwat77, thanks for submitting this issue. Would you be able to share with us the smart contract you're trying to verify?

schaable commented 1 month ago

I'm closing this issue due to a lack of response, but I'm happy to reopen it if you can provide more information.