nifty-wallet
nifty-wallet copied to clipboard
Ethereum.enable promise is not working when app pass-locked
What browser and version did you use?
Chrome latest
What operating system did you use?
Mac OS
Do you have screenshots showing the problem?

What is your issue?
In the screenshot I try to show 2 different behaviours that work unexpected:
- The wallet does not pop up when sending
window.ethereum.enable()when the user has not input their password - When building dapps, the Promise gets resolved with unexpected result. This makes dapps working with Metamask have to handle Nifty login in a different manner. I think this does not make sense and the app should pop up and request pass once the developer triggers
enable.
Duplicate of https://github.com/poanetwork/nifty-wallet/issues/222
It is mor than just UI. Developers expect that promise not to resolve until the flow is finished.