-
Notifications
You must be signed in to change notification settings - Fork 106
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
Multi Account Support #438
Comments
Is there any wallet out there which actually allows users to authorize multiple addresses? Did I understand this right: it's up to wallets to allow users to select multiple addresses to authorize (include within the auth tokens scope), but it's up to dApps to implement the addressSelector. So far no mobile wallet implemented the addresses-to-authorize selector so there is no point for dApps to implement the addressSelector (since it will always be a single wallet address authorized per auth token). Somewhat related comment from my previous feature request: #328 (comment) He also says that multi-account feature is gtg for the most part? |
Hey @d-reader-josip, The mobile wallet adapter spec allows wallets to return a list of accounts that have been authorized for the scope (see here). But currently this functionality is not fleshed out through the rest of the protocol, and is not used in our example apps (see issue #44 for more background and info about this). So we want to, at the very least, update the rest of the privileged methods in the spec to add an
How these features are used in practice remains up to the dapps and wallets. Dapps and Wallets can choose how they want to adopt and handle these new features. As long as they are compatible with the underlying spec, the UI is up to them. I can see possible use cases that require some kind of address selector ui in the dapp, and others that allow the dapp to select the correct account based on its features without user input. |
Summary
Currently Mobile Wallet Adapter allows wallets to return a list of accounts to an authorized dApp. The intention of this functionality is to allow multiple accounts to be simultaneously authorized and used within the session. This functionality is not fully fleshed out throughout the API and should be further developed to allow dApps and wallets to perform more complex tasks that involve multiple users wallets/accounts.
Tasks
The text was updated successfully, but these errors were encountered: