cosmology-tech / cosmos-kit

Universal wallet connector for the Cosmos ⚛️
https://cosmology.zone/products/cosmos-kit
BSD 3-Clause Clear License
183 stars 134 forks source link

useChain, UseChains, and useChainWallet always returns disconnected #449

Open jijicodes opened 6 months ago

jijicodes commented 6 months ago

I tried using useChain, useChains, and useChainWallet to try and connect a wallet, but it's all funky. I am also avoiding using the walletModal. In my app, it struggles to use useChains (trying to connect to both 'osmosis' and 'chihuahua'), but I also want it to default to using the Keplr extension.

useChains always returns disconnected. useChains and useChainWallet are inconsistent; sometimes they connect but the address is undefined, and other times they are disconnected.

here is my public repo: https://github.com/jijicodes/cosmoskit-test Screenshot 2024-05-16 at 3 08 29 PM

dadamu commented 4 months ago

I met the same issue, even keplr and leap are uninstalled, they still show Disconnected instead of NotExists.