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 has been archived by the owner on Jun 21, 2023. It is now read-only.
Hi, currently algosigner.accounts returns an array of all accounts in wallet.
Is there an API to fetch a wallet's default(i.e currently active) account ? Or is it algosigner.accounts({..})[0] (first account from list of accounts)?
If not, we would like to make a feature request to set/support a default account in wallet.
The text was updated successfully, but these errors were encountered:
Thanks for submitting this. The Foundation has a number of ideas about streamlining how wallets respond with accounts and we'll certainly bring this request to them.
To be precise: we need to know what's the current user account (currently selected account in the wallet). Do you have any ETA for that? It's blocking our templates. The workarund we have is to always select the first account, which may not be same what user wants.
We are planning to meet and discuss account and wallet structure where this and other ideas can be looked at. Trying to make sure I understand exactly what you're looking for in this scenario.
Because the extension is closed when not directly interacting with and calls can be made using any address the user has added the current address could mean multiple things.
Did you mean to have the user indicate in the extension a primary account for any DApp? Current based on last address activity? The last one to interact with a specific asset? Or did you have a model you have used elsewhere that demonstrates the expected behavior?
Hi, currently
algosigner.accounts
returns an array of all accounts in wallet.Is there an API to fetch a wallet's default(i.e currently active) account ? Or is it
algosigner.accounts({..})[0]
(first account from list of accounts)?If not, we would like to make a feature request to set/support a default account in wallet.
The text was updated successfully, but these errors were encountered: