Open ethedev opened 2 years ago
Hm.. so it allows you to connect to the dapp even if you have not created an account on metamask and just installed the extension?
correct
additional errors might show:
vendor.cb1e225a.js:6 TypeError: Cannot read properties of null (reading 'slice')
at L (AppView.086a48ec.js:6)
at Proxy.<anonymous> (AppView.086a48ec.js:6)
at Pd (vendor.cb1e225a.js:6)
at yd.W [as fn] (vendor.cb1e225a.js:6)
at yd.run (vendor.cb1e225a.js:6)
at c5 (vendor.cb1e225a.js:6)
at G_ (vendor.cb1e225a.js:6)
U$ @ vendor.cb1e225a.js:6
vendor.cb1e225a.js:6 TypeError: Cannot read properties of null (reading 'slice')
at h (AppView.086a48ec.js:6)
at Proxy.<anonymous> (AppView.086a48ec.js:6)
at Pd (vendor.cb1e225a.js:6)
at yd.W [as fn] (vendor.cb1e225a.js:6)
at yd.run (vendor.cb1e225a.js:6)
at c5 (vendor.cb1e225a.js:6)
at G_ (vendor.cb1e225a.js:6)
On the case where the request type to metamask is
wallet_requestPermissions
the website must wait and not break (header and footer disappearing) for when metamask sends back a response, then on connection success the address should just be loaded in.