Allow publishing source on Etherscan
See original GitHub issueOverview
It should be possible (and simple) to verify a deployed contract’s source code on etherscan.
Specification
Not 100% on how this would be best implemented. Some thoughts:
- Add an internal “flattener” to turn multiple source files into a single file. Might also be worth exposing this on it’s own via the CLI.
- Add a method to
Contract
, to be called from in the console or a script. - Consider a flag in
brownie run
to auto-verify all sources after deployment?
Possible syntax:
contract = ContractContainer.deploy({'from': accounts[0]})
contract.publish_on_etherscan()
and / or
ContractContainer.deploy({'from': accounts[0]}, publish=True)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:58 (12 by maintainers)
Top Results From Across the Web
Allow publishing source on Etherscan | eth-brownie Funded ...
WARNING: this is a [[bounty.network]] network bounty, and is NOT real money. To see mainnet bounties, go to the bounty explorer and search...
Read more >How to Verify and Publish on Etherscan - Medium
Steps for Verifying and Publishing your Solidity Source Code. Enter your Contract Source Code. If the Bytecode generated matches the existing ...
Read more >How to fill section "Read Smart Contract" on Etherscan without ...
No. Currently Etherscan only allows you to publish your code and by that also make the contract readable. The tokens that you mentioned...
Read more >Verify & Publish Contract Source Code - Etherscan
Source code verification provides transparency for users interacting with smart contracts. By uploading the source code, Etherscan will match the compiled ...
Read more >How To Verify a Smart Contract on Etherscan | Chainlink Blog
Verifying and publishing source code. Enter your contract address ... Let's use the Chainlink Price Feed Consumer contract as an example.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should have this pr ready today
Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/ghei36
From: Gitcoin.co Bot notifications@github.com Sent: Tuesday, November 24, 2020 12:12:08 PM To: eth-brownie/brownie brownie@noreply.github.com Cc: oogetyboogety holycrapmoli@hotmail.com; Mention mention@noreply.github.com Subject: Re: [eth-brownie/brownie] Allow publishing source on Etherscan (#411)
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
@oogetyboogetyhttps://github.com/oogetyboogety due to inactivity, we have escalated this issuehttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068 to Gitcoin’s moderation team. Let us know if you believe this has been done in error!
Funders only: Snooze warnings for 1 dayhttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068?snooze=1 | 3 dayshttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068?snooze=3 | 5 dayshttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068?snooze=5 | 10 dayshttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068?snooze=10 | 100 dayshttps://gitcoin.co/issue/eth-brownie/brownie/411/100024068?snooze=100
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/eth-brownie/brownie/issues/411#issuecomment-733116862, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAZKLVTA254VUWI4TRTAFTDSRPSORANCNFSM4MIAO7UA.
Maybe we should also consider a standard json format instead of flattening for Solidity? https://kndrck.co/posts/verify-contracts-etherscan-100/