The error I can not deploy the contract
Closed this issue · 3 comments
hawkroc commented
I follow the guidelines, but it seemed to show this error in console :Error: Contract has not been deployed to the detected network (network/artifact mismatch)
How can I get the network_id?
mnaamani commented
You can get the network id from the web3 instance of drizzle available in the store:
drizzle.store.getState().web3.networkId
soundyogi commented
is this resolved?
If you did not deploy via truffle your abi-s wont include the address / network and you have to add web3 contract instances manually when creating the store.
OnlyOneJMJQ commented
Closing this for now because of age and since Drizzle doesn't handle contract deployment. @hawkroc, if you're still having this issue please reopen. Thanks!