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

How can I check selected wallet of user after connecting #89

Closed
Mash-Woo opened this issue Jan 26, 2024 · 6 comments
Closed

How can I check selected wallet of user after connecting #89

Mash-Woo opened this issue Jan 26, 2024 · 6 comments

Comments

@Mash-Woo
Copy link

After connecting, I want to check the user's current connected wallet.

Web3modal can't send transactions with Metamask, so I want to check what the user's connected wallet is. I can throw them an alert dialogue if it's a meta mask. We still do not support this function.

@quetool
Copy link
Collaborator

quetool commented Jan 26, 2024

Hello @Mash-Woo What do you mean? I use MetaMask regularly with Web3Modal as a lot of other people do as well

@Mash-Woo
Copy link
Author

Hello @Mash-Woo What do you mean? I use MetaMask regularly with Web3Modal as a lot of other people do as well

I am facing the same problem with Metamask with this issue although I am using web3modal

WalletConnect/WalletConnectFlutterV2#176

@Mash-Woo
Copy link
Author

@quetool Do you have any solutions for this

@quetool
Copy link
Collaborator

quetool commented Jan 29, 2024

In order to get to know the connected wallet, you can check the SessionData object after connection. sessionData.peer.metadata.name would be the name of the connected wallet.

@Mash-Woo
Copy link
Author

Yes, thank you

@Mash-Woo
Copy link
Author

This has been solved. @quetool You can close this

@quetool quetool closed this as completed Feb 6, 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

No branches or pull requests

3 participants
@quetool @Mash-Woo and others