Skip to content

Index Error while running the Brownie_Fund_Me project #1445

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

You must be logged in to vote

Hello @InsideTrifle
using the index [-1] just works for networks with persistence, meaning a testnet or a ganache with pseudo-persistence. If you run this just on development it won't work, as the [-1] looks into the build folder to find the address of the deployed contracts, and using development them will not ever be created.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@InsideTrifle
Comment options

Answer selected by InsideTrifle
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

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