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.

  • I don't think this is currently possible to configure in the hardhat.config file, however you could try starting multiple hardhat local node instances each at their own port using the hardhat node cli command
    – MShakeG
    Commented Oct 14, 2023 at 10:20

1 Answer 1


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.
    – MShakeG
    Commented Oct 14, 2023 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.