Open michaelclubman515 opened 2 years ago
Hello @michaelclubman515
Please remember to add: dotenv: .en
on your brownie-config.yaml
.
Additionally you can just copy and paste the export commands to the terminal and execute then before running the code.
Hi there , I met this problem when try to deploy in Lesson 5 brownie Simple Storage
ValueError: Unable to expand environment variable in host setting: 'https://rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID'
I think the cause is from infura setting ,but don't know where go wrong.also I found out infura change project ID to API key,but in .env file I still typed " export WEB3_INFURA_PROJECT_ID "
ValueError: Unable to expand environment variable in host setting
brownie version:V1.16.4 node version:v18.9.0 macos:12.6 (M1 2020)
error information:
.env file:
config.yaml
deploy.py