current position:Home>Error: the network ID specified in the truss config (4447) does not match the one returned by the network (5777) Ensure that both the network and the provider are properly configured.

Error: the network ID specified in the truss config (4447) does not match the one returned by the network (5777) Ensure that both the network and the provider are properly configured.

2022-02-03 23:09:18 Q & A of Denglian community




Take the answer 1:

Configure the network netword Change to * , for example :

    development: {      host: '127.0.0.1',      port: 7545,      network_id: '*', // Match any network id      gas: 6189082    },



copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032309169044.html

Random recommended