I've been learning solidity, however, I am still very new. Currently I am making a ERC20 Token but I am having some difficulties with doing so. Here is what I have.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol";
Contract GToken is ERC20 {
constructor(string memory name, string memory symbol)
ERC20("GToken", "GTKN") public {
_mint(msg.sender, 1000000 * 10 ** uint(decimals));
}
The Error I recieve when trying to compile the contract is as follows:
ParserError: Expected ';' but got 'is' --> GToken.sol:7:21: | 7 | Contract GToken is ERC20 { | ^^