Open aaron-cesaro opened 2 years ago
potential duplicate for #1459
"workaround" that i'm using so far: manually upload/verify source code on snowtrace testnet using Solidity Standard Json-Input
the necessary json file can be created using brownie (eg brownie console as shown below for a 'Registry' contract)
>>> import json
>>> with open('Registry.json','w') as f: f.write(json.dumps(Registry.get_verification_info()['standard_json_input']))
Environment information
brownie
Version: 1.17.2ganache-cli
Version: 6.12.2solc
Version: 0.8.11network not recognized using publish_source with SnowTrace API-KEY
I checked everything related to publish_source but seems that this isn't working properly.
Here's all relevant info about the code
brownie-config.yaml
.env [values are intentionally hidden]
deploy.py
run command
brownie run deploy.py --network avax-test