Hi all,
¿Is there an easy way to verify a new BEP20 token for those who are not professional developers?
I just deployed a smartcontract using Remix successfully.
But when I go to BSCscan and try to verify it, I keep getting the same error everytime:
Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])
I copy you below my code, as it may be related with the import function:
//“SPDX-License-Identifier: UNLICENSED”
pragma solidity ^0.8.0;
import “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol”;
contract BEC3 is ERC20{
constructor(uint256 initialsupply) ERC20 (“BEC3 Token”,“BEC3”){
_mint(msg.sender,initialsupply*1000000000000000000);
}
}
The compiler version I used for deploying the contract was 0.8.1.
Contract address: 0xdb9dcfeb9f231bd204c1fb0fe94ef35b5a8e6a53
Thanks in advance,