So i just did a token on bsc with the simplest contract, still i can’t verify it on bscscan
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract mytoken is ERC20 {
constructor(uint256 initialsupply) ERC20("mytoken", "mtk") {
_mint(msg.sender, initialsupply);
}
}
getting this error
Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])
ParserError: Source “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol” not found: File import callback not supported
→ myc:5:1:
Please help me to learn more.
Thanks