Can not verify contracts by truffle

lease can you help me? I've been trying to verify my token too.

0x55915d50fb378Eeb926c5ba5e1e059E745cc05A3

0x810368a78cf80a1801d5167985ed82eaad46d071

Hi, welcome! :wave:

Please check the tutorial I share above, try to follow the ways it mentioned.

And you do not share the source code, so I can not verify the contracts.

1 Like

I can share the source code for you help me verify. Thanks

pragma solidity ^0.5.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Detailed.sol";

contract MoonBox is ERC20, ERC20Detailed {

constructor() public ERC20Detailed ("MoonBox", "MBX", 18){
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}

that is the source code.
thank you

So, have you followed the tutorial I share above? I very would like to help people who has struggled for verifying contracts rather than just asking for help.

I really have tried the tutorial but I'm new to this so I don't know how to verify them...

What is the compiler version?

And I really recommend to use tool to deploy and verify contracts, such as Truffle and Hardhat, it is much easier!!!

The compiler version is 0.5.17

I tried using the truffle tool but it doesn't seem to work
(Maybe I'm not doing it correctly)

1 Like

I can help you verify your contract add me on telegram @lekman2010

Can you do it here please?

No, it something you have to pay for...

1 Like

How much does it cost?

I am not sure why you can not, I just use truffle deploy the same contract and verify, all worked well, you can have a look at here

Thanks, I eventually found out that it has been verified, now the challenge I have is claiming it back :pensive::pensive:

Can anyone help??

claiming it back

What do you mean?

Send me message on telegram @lekman2010

I created the coin, now it's been claimed by another user

According to you shared the contract code, do you mean this coin? It seems like there is only one token holder, and it is the contract deployer.

From:

0x43f1247c2b35315becaf75015e274e3203e8028a

Interacted With (To):

[Contract 0x55915d50fb378eeb926c5ba5e1e059e745cc05a3Created]

Tokens Transferred:

Value:

0 BNB ($0.00)

Transaction Fee:

0 . 00608651 BNB ($2.13)

BNB Price:

$504.69 / BNB

That is the Transaction details and that is from my wallet.

Only one token holder, and this account is yours.

Thank you very much for your effort, but I'm really confused. please can you direct me to a Tutorial video on how to create and deploy using truffle, please I've wasted a lot of bnb