Comments (13)
when I run this command, I get this error
brownie run scripts/simple_collectible/deploy_simple.py --network rinkeby
File "brownie/network/web3.py", line 171, in _expand_environment_vars
raise ValueError(f"Unable to expand environment variable in host setting: '{uri}'")
ValueError: Unable to expand environment variable in host setting: 'https://rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_IDI have setup the WEB3_INFURA_PROJECT_ID and PRIVATE_KEY in .env file but got above issue
You should run source .env when everytime open a new terminal or shell
from nft-mix.
In your .env
file, are you using:
WEB3_INFURA_PROJECT_ID=asdfasf
or
$WEB3_INFURA_PROJECT_ID=asdfasf
?
from nft-mix.
using WEB3_INFURA_PROJECT_ID
from nft-mix.
Yep, I've made an issue on the brownie repo. I jumped the gun here. For the time being, could you run:
export WEB3_INFURA_PROJECT_ID=asdfasf
in your shell? You can also learn how to set them here.
from nft-mix.
I ran this above command now I'm getting below error
ValueError: Gas estimation failed: 'insufficient funds for transfer'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.
from nft-mix.
You'll need rinkeby ETH and LINK in your testnet wallet connected to the private key:
https://rinkeby.chain.link/
https://faucet.rinkeby.io/
https://www.youtube.com/watch?v=P7FX_1PePX0
from nft-mix.
For the moment, I'm going to leave this issue open until brownie adds the new env var feature.
from nft-mix.
ok thanks let me check
from nft-mix.
@PatrickAlphaC when I run on local network, I got this below error
raise ValueError("Explorer API not set for this network")
ValueError: Explorer API not set for this network
Terminating local RPC client...
when I run with rinkeby network, I got this again but I have created ETH and LINK what you say in that video
ValueError: Gas estimation failed: 'insufficient funds for transfer'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.
from nft-mix.
You don't have any testnet LINK most likely in your wallet. Do you have Kovan LINK or Rinkeby LINK?
from nft-mix.
I have 200 Link in Rinkeby
from nft-mix.
Hmm.... it might still be your WEB3_INFURA_PROJECT_ID then.... What are the chances you could send a video?
from nft-mix.
You can learn more about them here too: https://www.twilio.com/blog/2017/01/how-to-set-environment-variables.html
I'm closing this for now
from nft-mix.
Related Issues (20)
- eth not found HOT 1
- Stuck on calling Createcollectible.py
- Stuck on Create_Collectible.py deployment HOT 9
- I'm try deploy on rinkeby testnets its give me error that ValueError(f"'{value}' is not a valid ETH address") from None HOT 2
- Openzeppelin _setTokenURI HOT 1
- ROCADERI
- Rinkeby Deprecated Oct.2022 HOT 4
- Lesson 6: ValueError: insufficient funds for gas * price + value when testing bad_actor try to use withdraw function HOT 2
- Switching To Sepolia Testnet HOT 1
- Cannot Run Scripts HOT 7
- ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) HOT 4
- No matter however I run, it shows The number of tokens you've deployed is: 0 HOT 3
- No matter however I run, it shows "The number of tokens you've deployed is: 0"
- invalid op code in create collectible HOT 5
- invalid opcode: opcode 0xfe not defined when funding on Polygon-main HOT 5
- Polygon-Main Gas Estimation Error on Mint HOT 2
- There is no main() in upload_to_pinata.py HOT 3
- len(advancedCollectible) -1 out of range HOT 6
- Stuck on TokenID 0 is ... HOT 2
- API request failed with: Invalid API Key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nft-mix.