Etherscan verification for flattened contract deployed with Remix

Heya there,

I deployed last week with Remix - I'm trying to verify it now, but I'm getting the infamous "Error! Unable to generate Contract ByteCode and ABI" issue.
The code I'm verifying is copied directly from Remix, so I'm confident it's identical, and I've triple/quadruple checked the compiler versions.

Any suggestions?

Contract code: https://github.com/enjeyw/NumbersNFT/blob/main/contracts/flat.sol
Etherscan: https://etherscan.io/address/0xc5ac2e26bfbc501640a4e17f2f8e04ba0f7d4490

Hi, welcome! :wave:

maybe you can have a look at this tutorial: Verify erc20 token on etherscan that was deployed through remix:step by step guide

And for the next time, please search at the forum at first, and then ask questions, thanks!
How do I ask a good question? - General / Meta - OpenZeppelin Community

I prefer to close this topic, if you still can not verify your contracts following all the tutorials I shared above, you can reply under this topic and ping me.

Hi, it seems like you can not verify it, so I have verified your contract, you can look at here:

I follow the tutorial I shared above, and I really recommend to verify contracts via plugin, you can find a relative plugin in Truffle or Hardhat, and for more details, you can look at this tutorial: