poanetwork / poa-poba

DApp for proof of bank account (PoBA) attestation
GNU General Public License v3.0
3 stars 6 forks source link

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

Closed varasev closed 6 years ago

varasev commented 6 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.