truffle-box/drizzle-box

Contract not found on network ID

Xuefeng-Zhu opened this issue · 2 comments

After deploy the contract and start the client, it gave error for not finding contract.

image

jgege commented

To see what address a specific contract has on different networks you can open app/src/contracts/YourContractName.json and search for "networks".

If it's there you can try restarting your test network (I guess you use ganache or truffle develop) and run truffle migrate again.

If it still fails you might have the same issue as I had. For a solution see: #78

I have resolved the issue. It is due to web3 version