Hey guys, I created a new contract with this temaplt:
https://forum.openzeppelin.com/t/importing-openzeppelin-contracts-in-remix/1420
And when I try to launch it on binanace I get this error:
Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])
That is the code i have in the contract:
pragma solidity ^0.6.2;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () public ERC20("XXXXX", "XXXX") {
_mint(msg.sender, 250000000000 * (10 ** uint256(decimals())));
}
}
Would love some help thanks and best wishes.