Verify ERC20 deployed via Remix

Hello, I have deployed a contract first to Ropsten, then to Ethereum Main after seeing it worked. Now I in the midst of verification. I cannot get the contract verified and could use some suggestions. I’m new to this concept so I could use a little ELI5. I’m willing to deploy a newer version if that is in my best interests.

:computer: Environment
I utilized Remix, imported ERC20.sol from 3.1.0 and utilized solidity 6.1.2 to compile. I deployed the simple contract from inside Remix. I did not use Truffle or any others.

:1234: Code to reproduce

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/ERC20.sol";

contract Stimmy is ERC20 {

    constructor () public ERC20("Stimmy", "STMY") {
        _mint(msg.sender, 6900000 * (10 ** uint256(decimals())));
    }
}

Done! Stimmy

There is a plugin to verify contract, maybe next time, you can have a try:

1 Like

Thanks as always @Skyge :pray: