I am trying to fork ethereum, polygon, and arbitrum at the same time. I tried to use ganache-cli specifying different ports for each chain but it does not seem to grab the chain data when I use a different port. I am open to using hardhat, or anything else, but I was not able to specify a port with hardhat. Is anyone aware of a way to do this? Thank you, any help is appreciated.
1 Answer
Yes you can fork multiple blockchains at the same time using hardhat just setup your networks in the hardhat config file and start your node on the terminal . If you have another network start a new terminal and start your node. You can refer to this doc for more info
-
This doesn't answer the question and the linked docs doesn't have any details about forking multiple networks simultaneously.– MShakeGCommented Oct 14, 2023 at 10:09
hardhat node
cli command