Comments (6)
@guyton-cb I can reproduce this on my end. This is happening because rabby wallet overrides metamask. This is happening for many wallets like zerion, coinbase and others. Let me quickly see if i can get a quick fix and get back to you.
from rainbowkit.
Make sense to me. I actually ran into this exact same issue building my own connect flow using wagmi, it's what lead me to try out Rainbowkit to see if yall had a fix with custom btns.
For now, Ill use the connect modal. Thanks!
from rainbowkit.
There are some cases where EIP-1193 wallets are overriding each other, but it doesn't seem like it's doing nothing. At least when i have Phantom and MetaMask enabled:
Can you please share a small repro example with code ?
from rainbowkit.
I assume the Wallet Buttons
on the docs page is implemented the same on the example app https://rainbowkit-example-rainbowdotme.vercel.app/
Some times it works for me on the docs site, and some times stalls. In the cases where i have only MM/Phantom it works fine on the docs site but not when i use a Custom WalletButton. I am currently debugging now to get more insights.
Current setup:
- install 3 wallets: rabby, metamask, phantom
- rabby is set
MetaMask is in use and Rabby is banned
- clicking MM does nothing
from rainbowkit.
@guyton-cb Just found out that this one seems to be out of our control. Rabby wallet appends it's own data and overrides MetaMask's data / functions.
This is very normal since a lot of these wallets do the same thing, but we can ignore some of them and not all of them. RainbowKit v1 also has faced with the same issue until we've introduced EIP-6963 to the connect modal, we'll eventually do the same thing for WalletButton
.
Meanwhile what i would suggest doing is using our connect modal since it does provide support for EIP-6963 like Rabby and MetaMask, but you might get the same issue just very rare.
Hopefully this makes sense and we're just a wrapper around wagmi
so this is something that's out of our control and the best thing you can do is not have your Rabby wallet enabled by the time your connecting your wallet.
Lmk if this is makes sense 🙏
from rainbowkit.
@guyton-cb Gotcha. Yeah lmk if you face any other issues, but we'll support EIP-6963 for WalletButton near future after wagmi
fixes some stuff on their end.
from rainbowkit.
Related Issues (20)
- [bug] Touchpad zoom and pan do not work on modals HOT 3
- [bug] process.env breaks Vite-based projects in Dev HOT 1
- [bug] Coinbase wallet QR code scan not showing prompt consistently HOT 1
- Rainbow wallet and metamask QR codes don't display when pressing their tabs [bug] HOT 4
- [bug] Invalid balance formatting shows balance in exponential format HOT 1
- [bug] sending transaction not working for OKX wallet HOT 5
- [bug] Every time we connect with walletconnect, it will connect to a different chain HOT 6
- [bug] Website auto-connecting to MM extension wallet even after disconnecting HOT 4
- [bug]Cannot reconnect Metamask after disconnecting HOT 3
- [bug] Balance on Connect Button doesn't update after a txn HOT 6
- openConnectModal opening unstyled modal ui HOT 2
- [security] Stop initializing WalletConnect when it's not used in the dapp HOT 4
- [bug] Metamask window is not opening after disconnect HOT 5
- [bug] <Cannot read properties of undefined (reading 'toLowerCase')> Navigator undefined in getBrowser HOT 7
- ConnectButton Displays Wallet Connected to Last Stored Chain, Not Current Chain in MetaMask HOT 2
- Add a boilerplate for rainbowkit, Next, tailwindcss, and TS. HOT 1
- [bug] <title>The installed browser wallet plug-in cannot be detected HOT 1
- [bug] ReconnectOnMount working (refresh) but any actions and switching tabs will disconnect HOT 3
- [bug] not working as expected when setting preference to "smartWalletOnly" HOT 2
- [bug] Peer dependency issue: [email protected] ... Found [email protected] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rainbowkit.