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

Add signature modal and signature functionality #549

Merged
merged 7 commits into from
Feb 2, 2024

Conversation

ismailToyran
Copy link
Contributor

Project organization

Description

Added “custom modal” asking the user to sign the message in its wallet, no more auto opening of Metamask

Checklist

  • Base branch of the PR is dev

@ismailToyran ismailToyran self-assigned this Jan 31, 2024
@ismailToyran ismailToyran linked an issue Jan 31, 2024 that may be closed by this pull request
Copy link
Member

@antho1404 antho1404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed one issue where the account doesn't switch anymore and no signature is asked.

  • Connect Wallet A
  • Sign with Wallet A
  • Go in the wallet app (eg Metamask)
  • Switch account to account B
    Result: Nothing happen
    Expected: We should connect this wallet and reopen the signature modal like we do right now

@ismailToyran
Copy link
Contributor Author

The issue with changing account should be fixed with the latest commit.
Let me know if this PR is good enough to merge.
Seems to be fixing multiple tab open sign issue.

@ismailToyran ismailToyran linked an issue Feb 1, 2024 that may be closed by this pull request
Copy link
Member

@antho1404 antho1404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty good, the flow is much nicer like that

@antho1404 antho1404 enabled auto-merge February 2, 2024 07:25
@antho1404 antho1404 added this pull request to the merge queue Feb 2, 2024
Merged via the queue into dev with commit 0b9fbda Feb 2, 2024
2 checks passed
@antho1404 antho1404 deleted the signature-modal-added branch February 2, 2024 07:57
@ismailToyran ismailToyran mentioned this pull request Feb 8, 2024
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.

Sign modal needs loader One request to authentication request per open tab
2 participants