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

Wallet Detects changes #465

Open
faillacec opened this issue Mar 1, 2023 · 1 comment
Open

Wallet Detects changes #465

faillacec opened this issue Mar 1, 2023 · 1 comment
Assignees

Comments

@faillacec
Copy link

✅ Prerequisites

  • [ x] Did you perform a cursory search of open issues? Is this question already asked elsewhere?
  • [ x] Are you reporting to the correct repository (magic-sdk)?

❓ Question

Are there methods to detect account change and network change when I connect to wallets like metamask and walletconnect?
Using magic connect

Because when I connect to metamask with an account and change and connect again, the new one does not detect me and it connects me to the previous one (always the same)
And when I change the chain/Network it does not detect the change and I don't see a method to change the network either

thanks

🌎 Environment

Software Version(s)
magic-sdk 13.4.0
Browser Chrome
yarn
Operating System Mac Os
@alexvobo
Copy link

alexvobo commented Mar 7, 2023

Seeing the same thing, magic RPC only pulls 1 account and returns an array with that singular address.

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

No branches or pull requests

3 participants