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

Misc fixes for EVM wallet connection #260

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

SebastienGllmt
Copy link
Contributor

This PR makes 3 changes:

  • Marks userWalletLoginWithoutChecks as deprecated. Its function signature is exactly the same as specificWalletLogin which should be use instead
  • Allows optionally passing checkChainId: false when connecting to an EVM wallet. This is useful when you only care about message signing so it doesn't matter which chain the user has selected (esp for wallets like Metamask and Flint which don't support arbitrary network switching)
  • Fix deduplicating logic when multiple EVM wallets have the same display name

@SebastienGllmt SebastienGllmt self-assigned this Nov 30, 2023
@SebastienGllmt SebastienGllmt merged commit c39cd87 into master Nov 30, 2023
gostkin pushed a commit that referenced this pull request Dec 8, 2023
@SebastienGllmt SebastienGllmt deleted the evm-connect-fixes branch December 13, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant