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
Implement logic that would allow to subscribe to accountsChanged event of Unisat extension to update account automatically when user switches between wallets.
Problem Statement/Justification
Currently, in sats-wagmi there's no way to update accounts when the user switches between wallets in the Unisat extension.
I haven't found information regarding other wallets. To my knowledge, Leather and Xverse wallets don't have such events. However, this is a subject for research.
The text was updated successfully, but these errors were encountered:
Description
Implement logic that would allow to subscribe to
accountsChanged
event of Unisat extension to update account automatically when user switches between wallets.Problem Statement/Justification
Currently, in
sats-wagmi
there's no way to update accounts when the user switches between wallets in the Unisat extension.Proposed Solution or API
Unisat has documentation on how to listen for
accountsChanged
event — https://docs.unisat.io/dev/unisat-developer-center/unisat-wallet#accountschangedAlternatives
No response
Additional Information
I haven't found information regarding other wallets. To my knowledge, Leather and Xverse wallets don't have such events. However, this is a subject for research.
The text was updated successfully, but these errors were encountered: