Orange-Wallet / wallet-connect-dart

Wallet Connect client in Dart.
https://pub.dev/packages/wallet_connect
BSD 3-Clause "New" or "Revised" License
115 stars 78 forks source link

How to kill just one session? #36

Open EricShih0925 opened 1 year ago

EricShih0925 commented 1 year ago

I had connecting to two Dapps, now i want to disconnect from only one Dapp. I try to use killsession, and two Dapps' sessions were been killed. Please teach me how to do, thank you.

CyberWake commented 1 year ago

Hi @eric19950925 I need some help for the same. Like how did you managed to Dapps connections. When I connect to two different Apps with same account. They connect successfully but on receiving any event from the Dapp connected first in the order throws me this HandshakeException: Hmac from payload and calculated hmac doesn't match. Would be happy to hear back from you😃

Cernius commented 1 year ago

I managed to do a workaround by starting a new client on every new connection, that way you can control which client to kill.