expandorg / worker-app

worker application
https://portal.expand.org/
Mozilla Public License 2.0
2 stars 0 forks source link

Metamask login error #229

Closed kieranoreilly closed 5 years ago

kieranoreilly commented 5 years ago

For some reason it keeps asking me to unlock metamask even though I did. I see this in console

 In an effort to improve user privacy, MetaMask stopped exposing user accounts to dapps if "privacy mode" is enabled on November 2nd, 2018. Dapps should now call provider.enable() in order to view and use accounts. Please see https://bit.ly/2QQHXvF for complete information and up-to-date example code.
kieranoreilly commented 5 years ago

Deposit is also not working

kieranoreilly commented 5 years ago

https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8

sslava commented 5 years ago

i found several problems here 1) i changed metamaks initialization code as described in medium article 2) looks like scry-one lib is not supported anymore. It relays on deprecated api in web3-utils library. Luckily we don't need scry-one wathcer on client at all - so i just removed reference and now everything works fine

kieranoreilly commented 5 years ago

Can you post the commit where scry was removed?

sslava commented 5 years ago

https://github.com/expandorg/common/commit/0ee15fc92f730575c8ee268d91759a2e82efa168

this one :)