Cant vefify token on etherscan

Hello, my basic erc20 coin will not verify -
" Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])"

ParserError: Source "@openzeppelin/contracts/token/ERC20/ERC20.sol" not found: File import callback not supported

Any help would be greatly apricated!

You can use remix to flatten the code.
Right click on the contract name ---> flatten


1 Like