Verify ERC20 token deployed by Remix

hi plz help me out verifying my erc20 smart contract

// SPDX-License-Identifier: MIT
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("Dev_token", "dev") {
        _mint(msg.sender, 5000 * (10 ** uint256(decimals())));
    }
}
1 Like

contract adress
0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f

1 Like

Done!

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

2 Likes

Hi @chick100,

Welcome to the community :wave:

@skyge kindly verified your token for you:

1 Like

i seriously cannot believe a community can be that great
i really appriciate your help
i was struling with verificatin process
can u give a glimpse what i was missing?
ā€¦
thanksyou soo much again

1 Like

thanks for the help but is there a way to verify a contract not using truffle.
and what mistake i was doing while verifying
just asking!

1 Like

I just use this package: truffle-flattener, flatten all dependencies contracts into a contract, and then verify it on the etherscan, select compile version is 0.6.2, select Optimization Enabled and then verified was done.

2 Likes

can you help me out with one more question

which is easy ide for creating erc20 using openzeppelin and deploying on ropsten test network is it through remix or truffle?

1 Like

It depends on you.
There are some articles wrote by abcoathup, maybe it can help you.

2 Likes

2 posts were split to a new topic: Verify token on bscscan