vu3th / vue-dapp

Empower dapp developers with Vue integration for crypto wallets
https://vue-dapp.vercel.app/
MIT License
195 stars 51 forks source link

Reconnecting does not work on Rabby wallet #121

Closed tempe-techie closed 9 months ago

tempe-techie commented 1 year ago

Rabby wallet is an alternative to MetaMask. It uses (almost) the same API, so you can connect with Rabby wallet through the MetaMask connector in Vue Dapp.

But when reloading the site, the reconnect feature does not work for Rabby. The error in the console says: "No auto-connect to MetaMask: not connected".

Any idea how to solve this? 🙂 How does Vue Dapp currently remember a MetaMask connection? 🤔

P.S.: There are some other wallets that also use the same API as MetaMask (e.g. Bifrost mobile wallet), but suffer from the same reconnecting issue as Rabby.

tempe-techie commented 1 year ago

Nevermind, I managed to get this functionality via a custom modal for connectors and handling auto connections through local storage 🙂

johnson86tw commented 1 year ago

@tempe-techie thanks for reporting this issue. Let's let the issue be open

johnson86tw commented 9 months ago

Close this issue as vue-dapp has introduced a new version with breaking changes. Now it supports EIP-6963, this problem will probably be solved.