Hi there,
I'm at the point of the course where you get the API key token from etherscan.io.
I followed all the steps, but my code breaks here:
fund_me = FundMe.deploy({"from": account}, publish_source=False)
and this is the error I get:
File "eth_brownie-1.19.3-py3.9.egg/brownie/network/contract.py", line 411, in publish_source
data = response.json()
File "requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
JSONDecodeError: Expecting value: line 2 column 1 (char 1)
I saw somewhere online that they said perhaps because I'm passing an empty variable, I've got the api key token in my .env file. I tried with wrap it in single quotes, double quotes and no quotes, still nothing.
Google has not been much use. Anyone can help?
Hi there,
I'm at the point of the course where you get the API key token from etherscan.io.
I followed all the steps, but my code breaks here:
fund_me = FundMe.deploy({"from": account}, publish_source=False)and this is the error I get:
I saw somewhere online that they said perhaps because I'm passing an empty variable, I've got the api key token in my .env file. I tried with wrap it in single quotes, double quotes and no quotes, still nothing.
Google has not been much use. Anyone can help?