poanetwork / poa-dapps-voting

POA Network Governance Dapp
https://voting.poa.network
GNU General Public License v3.0
26 stars 54 forks source link

(Fix) Update DApp loading code considering upcoming Breaking Change in MetaMask #179

Closed varasev closed 5 years ago

varasev commented 5 years ago

Problem: On November 2nd, 2018 MetaMask and other DApp browsers will stop exposing user accounts by default. Instead, dapps must request access using a new provider method: provider.enable(). Detailed info is available here: https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8

Solution: Fix the code which loads DApp according to instructions from What this means for developers section of the article mentioned above.

varasev commented 5 years ago

Done in https://github.com/poanetwork/poa-dapps-voting/pull/181.