Skip to content

Lesson 6: API Key issues #257

Answered by cromewar
ArcusConsulting asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ArcusConsulting I've reviewed your code and I didn't find anything wrong, however I have some suggestions for you.

  1. Make sure your private key correspond to your Rinkeby address.
  2. Sometimes brownie does not update the .env and you have to add those environment variables manually, so:
    • Close the project.
    • Open it again.
    • Delete the build folder
    • compile with: brownie compile
    • try to deploy again.
      This should load all the .env file again.
  3. if nothing works, add the API key as environment variable manually through windows advanced configuration.

Final hint: Did you ever tried using WSL (windows subsystem for linux)? this would make your life easier, as if you want no add a new env variable…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ArcusConsulting
Comment options

@cromewar
Comment options

@Anu-srinivasan
Comment options

@PatrickAlphaC
Comment options

@cromewar
Comment options

Answer selected by ArcusConsulting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants