I've gone through various Q/A(s) of the problem of ganache-cli and metamask not linking but after trying all the solutions, still doesn't work for me. As soon as I type ganache-cli
in windows cmd prompt and many private keys are displayed with fake accounts.
My truffle-config.js file-
// See <http://truffleframework.com/docs/advanced/configuration>
// for more about customizing your Truffle configuration!
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*" // Match any network id
},
develop: {
port: 8545
}
}
};
Using metamask I/ve tried various combinations of TestRPC URL, but none of them work. Also, I've tried connecting localhost:8545 given in list, still doesn't work.
I'm tryng triffle pet shop tutorial, When the GUI opens in browser and I click on adopt, nothing happens.