# Verify ERC20 token deployed by Remix

**URL:** <https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856>\
**Category:** Contracts\
**Created:** [February 18, 2021, 6:00am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856 "2021-02-18T06:00:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chick100](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/chick100/32/4326_2.png) [@chick100](https://forum.openzeppelin.com/u/chick100)\
**Post date:** [February 18, 2021, 6:00am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/1 "2021-02-18T06:00:35Z")

</div>

hi plz help me out verifying my erc20 smart contract

```auto
// 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())));
    }
}

```

---

<div class="post-metadata">

**Author:** ![chick100](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/chick100/32/4326_2.png) [@chick100](https://forum.openzeppelin.com/u/chick100)\
**Post date:** [February 18, 2021, 6:08am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/2 "2021-02-18T06:08:17Z")

</div>

contract adress  
0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f

---

<div class="post-metadata">

**Author:** ![Skyge](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/skyge/32/343_2.png) [@Skyge](https://forum.openzeppelin.com/u/Skyge)\
**Post date:** [February 18, 2021, 7:04am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/3 "2021-02-18T07:04:55Z")

</div>

Done!

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

> **[rkalis/truffle-plugin-verify](https://github.com/rkalis/truffle-plugin-verify)**
>
> ✅ Verify your smart contracts on Etherscan from the Truffle CLI

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [February 18, 2021, 9:31am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/4 "2021-02-18T09:31:38Z")

</div>

Hi @chick100,

Welcome to the community 👋

@skyge kindly verified your token for you:

> **[Contract Address 0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f | Etherscan](https://ropsten.etherscan.io/address/0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f#code)**
>
> The Contract Address 0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f page allows users to view the source code, transactions, balances, and analytics for the contract address. Users can also interact and make transactions to the contract directly on...

---

<div class="post-metadata">

**Author:** ![chick100](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/chick100/32/4326_2.png) [@chick100](https://forum.openzeppelin.com/u/chick100)\
**Post date:** [February 18, 2021, 9:47am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/5 "2021-02-18T09:47:57Z")

</div>

> [@chick100](#):
>
> 0x5391d4941fd6571f05795bbaf9f820c9cce1aa7f

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

---

<div class="post-metadata">

**Author:** ![chick100](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/chick100/32/4326_2.png) [@chick100](https://forum.openzeppelin.com/u/chick100)\
**Post date:** [February 18, 2021, 9:54am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/6 "2021-02-18T09:54:37Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Skyge](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/skyge/32/343_2.png) [@Skyge](https://forum.openzeppelin.com/u/Skyge)\
**Post date:** [February 18, 2021, 11:31am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/7 "2021-02-18T11:31:22Z")

</div>

I just use this package: [truffle-flattener](https://www.npmjs.com/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.

---

<div class="post-metadata">

**Author:** ![chick100](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/chick100/32/4326_2.png) [@chick100](https://forum.openzeppelin.com/u/chick100)\
**Post date:** [February 19, 2021, 11:13am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/8 "2021-02-19T11:13:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Skyge](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/skyge/32/343_2.png) [@Skyge](https://forum.openzeppelin.com/u/Skyge)\
**Post date:** [February 19, 2021, 11:35am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/9 "2021-02-19T11:35:04Z")

</div>

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

- [Create an ERC20 using Remix, without writing Solidity](https://forum.openzeppelin.com/t/create-an-erc20-using-remix-without-writing-solidity/2908)
- [OpenZeppelin Upgrades: Step by Step Tutorial for Hardhat](https://forum.openzeppelin.com/t/openzeppelin-upgrades-step-by-step-tutorial-for-hardhat/3580)
- [OpenZeppelin Upgrades: Step by Step Tutorial for Truffle](https://forum.openzeppelin.com/t/openzeppelin-upgrades-step-by-step-tutorial-for-truffle/3579)

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [February 23, 2021, 1:55am UTC](https://forum.openzeppelin.com/t/verify-erc20-token-deployed-by-remix/5856/10 "2021-02-23T01:55:31Z")

</div>

2 posts were split to a new topic: [Verify token on bscscan](https://forum.openzeppelin.com/t/verify-token-on-bscscan/5935)
