PatrickAlphaC / nft-demo

37 stars 51 forks source link

Did you also have problems with verifying your code? #4

Closed FBosler closed 2 years ago

FBosler commented 2 years ago

Looking at the repo it seems like you also tried to manually flatten the contract. Also see here

I ended up flattening the contract via remix and was able to upload the flattened .sol file, but that is horribly cumbersome. Did you somehow manage to solve this?

PatrickAlphaC commented 2 years ago

Don't do the manual flattening, it's pretty bad.

We got brownie to fix its verification!! Everything in here should work properly now: https://matnad.medium.com/how-to-verify-your-brownie-project-on-etherscan-82d6086644cf

FBosler commented 2 years ago

thx @PatrickAlphaC! Appreciate the response and the work you are doing.

I had read the article you mentioned, didn't really help though. You can also have a look at the following (replicable) issue I raised directly with brownie. Issue here

Cheers sir

PatrickAlphaC commented 2 years ago

Hmm... I'm able to verify successfully. Perhaps your API key is off?