this is the compile version i used
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 {
this is the compile version i used
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 {
And what is the source code?
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("GreenLand", "GREN") {
_mint(msg.sender, 86910000000 * (18 ** uint256(decimals())));
}
}
It shouldn’t be too complicated to validate it
So how do i do it to verify
are you using remix or truffle? but I think for that you can just go to etherscan directly to verify it.
All you need is the source code and the ABI I believe
i used remix how can i get the ABI
you don’t need the abi to verify the contract, you only need all the sources from that library that it imported