Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change uPort provider to query accounts when activating it. #31

Open
simondlr opened this issue Aug 22, 2016 · 0 comments
Open

Change uPort provider to query accounts when activating it. #31

simondlr opened this issue Aug 22, 2016 · 0 comments

Comments

@simondlr
Copy link
Contributor

Metamask requires pinging accounts regularly to fetch the latest address from the extension. uPort on the other hand uses getAccounts() to fire the QR code. This is slightly incompatible as uPort would more likely have one "sign in" action vs potentially "many" from Metamask.

Thus, if using uPort, the sign in should happen and then address locally stored.

If the provider is uPort -> get address from local storage -> otherwise use getAccounts() when sending a tx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant