hyperweb-io / hyperweb-io/cosmos-kit

Unable to connect to installed wallet extension when not installed wallet extensions fail to init

Open
#396 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
201
Forks
159
PR merge metrics
No merged PRs in 30d

Description

Starting recently for us, connecting to a wallet is silently failing when wallets that the user does not have installed are included in the ChainProvider wallets list.

For example, in a browser context with just Keplr installed, when the app is initialised with just the keplr wallet extension, the connect flow works as expected. However, when the leap and/or xdefi wallet extensions (the other wallets we currently support) are included in the wallets list, we see an `initClientError: Client Not Exist!` log for each of the not installed wallets and when trying to connect to Keplr again the connection flow fails silently (the wallet modal is dismissed but the wallet remains disconnected.

The package versions being used are:
```json
"@cosmos-kit/core": "^2.8.5",
"@cosmos-kit/keplr": "^2.6.5",
"@cosmos-kit/leap": "^2.6.5",
"@cosmos-kit/react": "^2.10.5",
"@cosmos-kit/xdefi": "^2.5.5",
```

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.