-
Notifications
You must be signed in to change notification settings - Fork 684
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
[bug] not working as expected when setting preference to "smartWalletOnly" #2053
Comments
@KarmanMax Can you provide a small reproducible example ? |
|
@KarmanMax I'm able to get the coinbase smart wallet window popup. Can you try in incognito mode ? If we detect that you have coinbase wallet browser extension we would rather use that than the smart wallet option. |
@KarmanMax Any luck ? |
that's the issue I want to talk about here. As the preference named "smartWalletOnly", I thought it expects to always use the smart wallet whatever there is a coinbase wallet extension. Actually what I want is something like what stargate does, which provides coinbase extension and smart wallet separately and the smart wallet option always popup the smart wallet connect modal whatever there is a coinbase wallet extension. |
@KarmanMax I see. You could create your own coinbaseWallet, but remove the |
it works! thanks a lot @magiziz |
Hey guys, I have the same problem but the other direction - I want to set the Same as the OP, I was hoping there won't be a way to use the smart wallet, but looks like there is. In my app flow, it breaks, and I don't want that. Unfortunately, from what I see it's not like the extension has always "prio" and I am hoping user won't click it - sometimes the "smart wallet" has a prio and now it definitely will break. Can I do anything about that? Like block this option from showing up and make it truly "eoaOnly"? |
@Forsect I wasn't able to reproduce that issue. It seems to work as expected for me, prioritizing the extension. Maybe try updating Wagmi/Viem to pull in the latest Coinbase peer dependency, and clearing cookies/cache for the Coinbase domains |
Is there an existing issue for this?
RainbowKit Version
2.1.2
wagmi Version
2.9.10
Current Behavior
Case: the CoinbaseWallet extension enabled, and the coinbaseWallet's preference set to "smartWalletOnly", select Coinbase in the connect modal.
Behavior: it's not connecting to the Coinbase smart wallet as expected, it's connecting to the CoinbaseWallet extension instead.
Expected Behavior
always connect to the Coinbase smart wallet when the coinbaseWallet's preference set to "smartWalletOnly", whatever CoinbaseWallet extension(or mobile app) is available.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: