Skip to content

Lesson 6: Error Creating mainnet-fork? #790

Answered by NathanPtrs
hai-yr asked this question in Q&A
Discussion options

You must be logged in to vote

I'm seeing a space in "mainnet-fork -dev" Were you intending to do "mainnet-fork-dev" (no space)? The command that worked for me was:
brownie networks add development mainnet-fork cmd=ganache-cli host=http://127.0.0.1 fork=https://eth-mainnet.alchemyapi.io/v2/[MYKEY] accounts=10 mnemonic=brownie port=8545

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cromewar
Comment options

@hai-yr
Comment options

Answer selected by cromewar
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