Closed manishsingh10895 closed 1 year ago
Even I stumbled upon this problem, do one thing go to metamask settings and switch off the privacy mode. Check out this Eth StackExchange answer https://ethereum.stackexchange.com/a/69914/47797
switch off the privacy mode.
@faruk13 There is no privacy mode in the settings, what should I do?
Connecting to the site localhost:3000 manually from metamask worked for me.
Closing this issue, as it is opened for too long and metamask and web3 apis have major changes.
web3.eth.getCoinbase function returns account as null always when using metamask eth Provider, while using http provider using ganache works perfectly.
Metamask version 6.7.2