You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2022. It is now read-only.
The common way to check if a account is unlocked in Metamask is a async call to this.web3.eth.getAccounts() and then check if accounts[0] is set.
In Mascara this works fine too. But I son't see how to differentiate between a existing, locked account and a user who never created an account at wallet.metamask.io.
So I can't decide if I should ask the interacting user to unlock or create an account.
If the popup is loaded, it becomes clear, but it would be great if I can differentiate between unlock you account and create a new account at the button triggering the popup.