Skip to content

fix(wallet-management): fix leather wallet reconnect issue#579

Closed
tomiiide wants to merge 5 commits into
mainfrom
LF-16080-fix-leather-wallet
Closed

fix(wallet-management): fix leather wallet reconnect issue#579
tomiiide wants to merge 5 commits into
mainfrom
LF-16080-fix-leather-wallet

Conversation

@tomiiide
Copy link
Copy Markdown
Contributor

Which Jira task is linked to this PR?

https://lifi.atlassian.net/browse/LF-16080

Why was it implemented this way?

The problem

Leather wallet does not persist dapp connections. While the connector saves connection state locally and attempts to reconnect via getAddresses() on refresh, the wallet itself is unaware of any previous connection and treats each call as a new connection request, resulting in a repeated popup for every page refresh.

https://leather.gitbook.io/developers/methods/getaddresses#sandbox

The solution

Disable this behavior.

Visual showcase (Screenshots or Videos)

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the Widget API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

@tomiiide tomiiide self-assigned this Oct 13, 2025
@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://17e4989d.widget-lf16080fix.pages.dev

@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://016fd72e.widget-lf16080fix.pages.dev

@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://3d2ad06c.widget-lf16080fix.pages.dev

@github-actions
Copy link
Copy Markdown

Hey! This is your new endpoint: https://9008d44f.widget-lf16080fix.pages.dev

@tomiiide tomiiide changed the title fix(wallet-management): disable shimDisconnect on leather wallet fix(wallet-management): fix leather wallet reconnect issue Oct 29, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 3, 2025

Hey! This is your new endpoint: https://468d0f43.widget-lf16080fix.pages.dev

@chybisov
Copy link
Copy Markdown
Member

Closing this and updating the packages in a separate commit.

@chybisov chybisov closed this Nov 13, 2025
@chybisov chybisov deleted the LF-16080-fix-leather-wallet branch November 13, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants