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

Dispatch disconnect event from walletconnect wallet when disconnecting or switching wallet #5397

Closed
woodenfurniture opened this issue Oct 3, 2023 · 0 comments · Fixed by #5417
Assignees
Milestone

Comments

@woodenfurniture
Copy link
Member

woodenfurniture commented Oct 3, 2023

Overview

Ensure we emit a disconnect event when switching wallets.

References and additional details

  • The connected wallet should have it's session removed.
  • Local storage state should be cleared.

Acceptance Criteria

Event Dispatching:

  • A disconnect event is dispatched whenever a user disconnects the wallet.
  • A disconnect event is dispatched whenever a user switches to a different wallet.

State and UI Update:

  • Application state is updated to reflect the disconnection.
  • UI is updated to prompt the user to reconnect or select a different wallet.

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

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

Successfully merging a pull request may close this issue.

2 participants