Trouble deploying to detected network (network/artifact mismatch)
July 13, 2021 at 5:02pmTrouble deploying to detected network (network/artifact mismatch)
July 13, 2021 at 5:02pmI'm new to blockchain development, so I'm having issues determining what this error means.
In Ganache, my RPC server is 127.0.0.1.7545 and the network id is 5777. However, when I try to create a custom RPC in MetaMask with this info, I get the following error:
The endpoint returned a different chain ID: 1337
Are the chain id and network id supposed to be different? Could this be causing the following error:
Contract has not been deployed to detected network (network/artifact mismatch)