Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this truffle cant work with Metamask since this year (Chrome) #55

Open
hatshu opened this issue Jan 15, 2020 · 1 comment
Open

this truffle cant work with Metamask since this year (Chrome) #55

hatshu opened this issue Jan 15, 2020 · 1 comment

Comments

@hatshu
Copy link

hatshu commented Jan 15, 2020

Hello, since the begining of this year I cant use this app with Metamask (chrome) this show this:

1034 web3.service.ts:67 Couldn't get any accounts! Make sure your Ethereum client is configured correctly.

I have using a semi-private network (Alastria) and we have 0 gas cost,
The app work if i use Opera, but in opera i cant configure gas cost to 0.
So i cant run the app correctly.

I have configure a private network with ganache and happend the same.

I have notice this warnings of metamask:

inpage.js:1 MetaMask: MetaMask will stop reloading pages on network change on January 13, 2020. For more information, see: https://medium.com/metamask/no-longer-reloading-pages-on-network-change-fbf041942b44
Set 'ethereum.autoRefreshOnNetworkChange' to 'false' to silence this warning: https://metamask.github.io/metamask-docs/API_Reference/Ethereum_Provider#ethereum.autorefreshonnetworkchange
(anonymous) @ inpage.js:1
setTimeout (async)
MetamaskInpageProvider @ inpage.js:1
(anonymous) @ inpage.js:1
1../lib/auto-reload.js @ inpage.js:1
i @ inpage.js:1
t @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ contentscript.js:1
(anonymous) @ contentscript.js:1
1.buffer @ contentscript.js:1
b @ contentscript.js:1
l @ contentscript.js:1
(anonymous) @ contentscript.js:1
inpage.js:1 MetaMask: 'ethereum.sendAsync(...)' is deprecated and may be removed in the future. Please use 'ethereum.send(method: string, params: Array)' instead. For more information, see: https://eips.ethereum.org/EIPS/eip-1193

Can you help me?

@pimotte
Copy link
Contributor

pimotte commented Jan 17, 2020

Since some point web3 required an "enable" call. I've added this in #57

Could you test if the latest master works, and if yes, close this issue?:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants