Skip to content
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

Coinbase Connecting Issue #901

Open
reddigszymon opened this issue Nov 6, 2023 · 0 comments
Open

Coinbase Connecting Issue #901

reddigszymon opened this issue Nov 6, 2023 · 0 comments

Comments

@reddigszymon
Copy link

I have problems connecting with a Coinbase Wallet. Keep in mind i have installed both Metamask and Coinbase Wallet.

When using web3React and activating the WalletLinkConnector like this:

const coinbaseWalletConnector = new WalletLinkConnector({
url: RPC_URLS[1],
appName: "app",
});

Sometimes the wallet connects as it should, but sometimes it redirects tme to this url https://www.coinbase.com/pl/connect-dapp?uri=http%3A%2F%2Flocalhost%3A3000%2F with a whitescreen.

It pretty much always happens when i connect with coinbase wallet, i disconnect from inside the coinbase application and try to connect again. Sometimes it works, sometimes it doesn't (mainly doesn't work).

In the console i see:

Failed to launch 'intent://open?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXT8%2FXS07SLddLzs%2FVT0ksKLBPTopPTC7JzM%2BzBXHVgNzSohzbDKByVWNHVSM3IMrJT07MycgvLgGKGBsYGACFAALgKShPAAAA&link_click_id=1250047599522166652#Intent;scheme=cbwallet;package=org.toshi;S.browser_fallback_url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dorg.toshi&referrer=link_click_id-1250047599522166652;S.market_referrer=link_click_id-1250047599522166652&cb_action%3Ddapp%26cb_url%3Dhttp%3A%2F%2Flocalhost%3A3000%2F;B.branch_intent=true;end' because the scheme does not have a registered handler.

I also tried running it on https, but it gives the same results.

What is interesting is that when i was playing around with it on uniswap.org i sometimes also get the error - not as frequently, but it happens, like 1 in 20 connections fail, and then suddenly the Coinbase Wallet disappears from uniswap, as if they know this error exists and just disable the ability to connect using it.

My code works fine with Metamask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant