I'm having trouble with verification of smart contracts and some ERC20 tokens. The only tokens I was able to verify were the ones derived from ERC20Detailed. Here's a simple contract that I found on the web that also fails. I have all the settings and parameters right including compiler version, byte code, etc.

I'm using Ropsten. Before answering, please try to deploy and verify this yourself. Thanks!

pragma solidity 0.5.1;

contract SimpleStorage {
    uint storeddata;
    function set(uint x) public {
        storeddata = x;
    function get() public view returns(uint) {
        return storeddata;
  • Deployed to Ropsten and verified on Etherscan, at ropsten.etherscan.io/address/… (though note that I have used solc 0.4.25). Aug 29, 2019 at 12:34
  • Thanks. Is there an easy 1-2-3 guide to do this with solc 0.4.25? I used remix + metamask for this deployment.
    – awni
    Sep 1, 2019 at 18:29
  • To do what with solc 0.4.25? I used this compiler version just for personal convenience, and just for proving that it works. Shouldn't be different with any other version. Sep 1, 2019 at 19:15
  • Can you please share the address of the deployed and verified contract?
    – awni
    Sep 1, 2019 at 19:20
  • I did, it is linkd in that comment above! Sep 1, 2019 at 19:21

1 Answer 1


I deployed the contract on the Kovan test net. Deployment versions same as you.

Everything worked properly. I see no reason for it not to work on Ropsten.

How did you deploy the contract? Maybe share the address to I can try to verify it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.