3

I discovered truffle has truffle-plugin-verify that help you verify your contracts on etherscan. I wonder if similar functionality can be done with brownie ?

1
  • If they have a Github, file an issue and post the answer here when you get it too.
    – eth
    Sep 6, 2020 at 8:20

1 Answer 1

0

In your deploy call after calling {"from": account}, add publish_source=True

Example:

def deploy():
   account = accounts[0]
   Contract.deploy({"from": account}, publish_source = True)

When you check etherscan it will show that your contract was verified

Your Answer

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

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