I built my contract entirely in Remix, and used import statement like:
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
I usually use the built in verifier plugin and it works very well on Rinkeby, but not on main net.
When loading in my four files on etherscan, I get a bunch of these errors:
ParserError: Source "@openzeppelin/contracts/token/ERC721/IERC721.sol" not found: File import callback not supported
--> ERC721.sol:5:1:
|
5 | import "@openzeppelin/contracts/token/ERC721/IERC721.sol"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tried everything. Was able to verify on sourcify:
Would appreciate help, my launch is tomorrow
SOLVED!!
I used Remix's flattener plugin. Uploaded as a singlefile and made sure to add my MIT license at the top.
1 Like
frangio
3
Please refer to our guide on verification: