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
Skyge
February 18, 2021, 7:04am
3
Done!
This is a plugin to verify contract, maybe next time, you can have a try:
2 Likes
Hi @chick100 ,
Welcome to the community
@skyge kindly verified your token for you:
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...
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
Skyge
February 18, 2021, 11:31am
7
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
Skyge
February 19, 2021, 11:35am
9
It depends on you.
There are some articles wrote by abcoathup
, maybe it can help you.
2 Likes
abcoathup
Split this topic
February 23, 2021, 1:55am
10
2 posts were split to a new topic: Verify token on bscscan