remix-project
remix-project copied to clipboard
When deploying from Remix, automatically verify contract on Etherscan?
Feature request
When deploying from Remix, automatically verify contract on Etherscan.
Rationale
- We have code
- We have compiler version
- We have optimisations yes / no
Some work from Etherscan guys will be needed.
Question - is there a valid use case not to have source of the contract visible?
There are some decompilers out there, EVM bytecode is visible to everyone...
checking the feasability with etherscan. would be a great candidate for a remix extension
here is the etherscan API doc https://etherscan.io/apis#contracts
I don't think we should automatically verify, but we can add an action which send the source code, compiler version, optimization settings, contract address to etherscan and perhaps another one for checking if a particular contract is verified. I believe etherscan provides as much entry point for this API as networks available (ropsten, rinkeby, kovan, mainnet), so all should be manageable within the extension.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 200.0 DAI (200.0 USD @ $1.0/DAI) attached to it as part of the Ethereum Foundation fund.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $45,716.10 more funded OSS Work available on the Gitcoin Issue Explorer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 3 weeks, 6 days ago. Please review their action plans below:
1) mul1sh has been approved to start work.
For this issue, i'll basically use the etherscan API's and create an extension in remix that basically checks if a contract has been verified or not and show the appropriate response.
Learn more on the Gitcoin Issue Details page.
the plugin should also propose to verify a contract using the API
if there's need to extend the API, please ping us at gitter.com/remix-dev @yann300 @GrandSchtroumpf
@yann300 ok will do, i've already started work on this, will do a WIP pr in a few
Hey @mul1sh how are things going towards the PR?
@ceresstation i've gotten the POST request to the etherscan api (with the necessary data) working. So now implementing the checks to see whether a contract is verified and i'll be done.
@mul1sh Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
- [x] reminder (3 days)
- [ ] escalation to mods (6 days)
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
Thanks for the update!
@ceresstation 👍
thanks @mul1sh @ceresstation please ping us at https://gitter.im/ethereum/remix-dev-plugin if you need anything
@yann300 thanks, joining now
@yann300 @ceresstation since I can't PR to remix-ide directly , because the solution to this issue is a plugin, the link to the verification plugin is https://github.com/mul1sh/verify-contract
I'm doing one last commit to it in a few hours and then it will be ready 🙂
awesome! ;) cc @GrandSchtroumpf
Thanks @mul1sh!
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 200.0 DAI (200.0 USD @ $1.0/DAI) has been submitted by:
@ceresstation please take a look at the submitted work:
- PR by @mul1sh
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $37,905.90 more funded OSS Work available on the Gitcoin Issue Explorer
@yann300 @ceresstation this is more of an update to the above repo, the plugin is not fully ready but i didn't want @gitcoinbot to make noise to me 😄.
Nonetheless it'll be fully ready in a few hours from now.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 200.0 DAI (200.0 USD @ $1.0/DAI) has been submitted by:
@ceresstation please take a look at the submitted work:
- PR by @mul1sh
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $37,998.64 more funded OSS Work available on the Gitcoin Issue Explorer
Hey @stefek99! Have you had the opportunity to check out the submitted work yet?
Thanks for chasing me.
Here are the instructions: https://github.com/mul1sh/verify-contract#usage
Does not work for me:

Maybe position the button next to the transaction receipt?
And pre-populate the contract address?
Also the mainnet / testnet, how does it know which network I'm on?
Hey @mul1sh have you had the chance to modify the plugin and update @stefek99 yet?
@CPSTL Sorry for the delay, modifying the plugin now 🙂
Hey @mul1sh Any updates on this? :)
@ceresstation i'm done, just testing my changes and then push them in a few hours so that we close this today 🙂
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 200.0 DAI (200.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @mul1sh.
- Learn more on the Gitcoin Issue Details page
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $55,224.33 more funded OSS Work available on the Gitcoin Issue Explorer
Did I miss something?

Last commit two months ago...
hi @mul1sh thanks,
I get this plugin.js:11 Uncaught (in promise) ReferenceError: $ is not defined when trying to verify.