[SOLVED] Nft Game 3rd video error

Yeah, I’ve placed the same contract address of the token in the code


And I don’t know how to check it, but I think my metamask is connected with ganache, cuz it was all going fine, and I could log in normally on the website, but as I told you after 8:38 pretty much everything stopped working

Login would work if MetaMask is on any network.
What are you MetaMask settings for ganache network?

Default Settings, all I did was link the truffle-config.js

HOSTNAME is 127.0.0.1 Loopback Pseudo Interface 1
Portnumber 7545
Network Id 5777
Acount default balance 100
Total accounts to Generate 10
Gas Limit 6721975
Gas Price 20000000000
Hardfork Muir Glacier

This is Ganache, can you make a print screen for MetaMask too when is connected to Ganache?

Sure. Here you go
I get the green circle saying connected, it means is connected to the website and consequently to ganache right?

It looks like MetaMask is connected to Ethereum Mainnet and not Ganache

1 Like

Gotcha! Mate you’re genius haha. It worked, I had no idea I had to create a new network on metamask with my localnetwork. Cheers mate. I really appreciate it!!!

1 Like