Skip to content

Lesson 7: FundMe.test.js >> select a network supported by Etherscan #445

Discussion options

You must be logged in to vote

I figured it out, this is the correct code for the 01 deploy script

if (
        !developmentChains.includes(network.name) &&
        process.env.ETHERSCAN_API_KEY
    ) {
        await verify(fundMe.address, args);
    }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DigitalOutbreak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant