magic-js icon indicating copy to clipboard operation
magic-js copied to clipboard

Wallet Detects changes

Open faillacec opened this issue 2 years ago • 1 comments

✅ 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

faillacec avatar Mar 01 '23 00:03 faillacec

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

alexvobo avatar Mar 07 '23 17:03 alexvobo