coinbase / coinbase/onchainkit

ConnectAccount does nothing in Safari, opens Phantom in Chrome, and nav's to Brave wallet in Brave 🤔

Open
#723 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### Describe the bug and the steps to reproduce it

I use many different wallets in my desktop browsers and am finding the OnchainKit ConnectAccount button a little troublesome. Here is an outline of the behaviour:

**Safari:** tapping the ConnectAccount button does nothing. Obviously I don't have any wallets installed in desktop Safari, but doing nothing doesn't seem like a good way to handle this.

**Chrome:** I have MetaMask, Coinbase Wallet, and Phantom installed here, amongst other wallets. Tapping the ConnectAccount opens Phantom. No option to select MM or CBW instead is provided, which would be incredibly helpful.

**Brave:** I have just MetaMask installed here. Instead of connecting to MetaMask, I am routed to Brave's wallet page: brave://wallet/crypto/onboarding/welcome

The docs don't explain how I might modify the behaviour of ConnectAccount to address this.

At present this makes the ConnectAccount unusable for me. Would love to see these issues addressed.

### What's the expected behaviour?

Users should be able to select the wallet they'd like to use.

### What version of the libraries are you using?

- "@coinbase/onchainkit": "^0.23.2"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.