Comments (7)
@lvn-rusty-dragon you can set isLazy true
to avoid unpleasant console errors.
In this way if you provide endpointOptions in ChainProvider
, it will give preference to the endpoint you provide.
from cosmos-kit.
for chainName seitestnet2
, isTestNet
should be true
according to the code, and it will apply this format https://rpc.testcosmos.directory/${chain.name}
rather than https://rpc.cosmos.directory/${chain.name}
. Are you sure https://rpc.cosmos.directory/seitestnet2
is generated?
from cosmos-kit.
you can set isLazy true to avoid unpleasant console errors
That sounds like a great solution for us for now, thank you!
for chainName seitestnet2, isTestNet should be true according to the code, and it will apply this format https://rpc.testcosmos.directory/${chain.name} rather than https://rpc.cosmos.directory/${chain.name}. Are you sure https://rpc.cosmos.directory/seitestnet2 is generated?
I agree with your read of the code, I don't know why it's using rpc.cosmos.directory instead of testcosmos. However, I just tried again from scratch and got the same result.
from cosmos-kit.
@lvn-rusty-dragon hmmm...weird. Can you provide an example test repo to produce it?
from cosmos-kit.
I've put together a repro here:
from cosmos-kit.
Hi @lvn-rusty-dragon, after some investigations, we found that upgrading cosmos-kit related packages to lastest versions will solve the problem.
https://rpc.testcosmos.directory/${chain.name}
instead of https://rpc.cosmos.directory/${chain.name}
"@cosmos-kit/core": "1.5.2",
"@cosmos-kit/keplr": "0.33.31",
"@cosmos-kit/react": "1.3.25",
BTW, JSON.stringify(wallet, null, 2)
can make your JSON output look nicer.
<pre style={{ fontSize: '12px' }}>{JSON.stringify(wallet, null, 2)}</pre>
Thank you for reporting this issue.
from cosmos-kit.
Thanks @twhy!
from cosmos-kit.
Related Issues (20)
- unable to connect to station if not first wallet HOT 2
- Unable to connect to installed wallet extension when not installed wallet extensions fail to init HOT 2
- First modal view sometimes auto connecting to the second wallet in the list, openView giving cosmostationExtension as by default, HOT 2
- [@cosmos-kit/cosmos-extension-metamask]Coin type 60 is forbidden HOT 1
- Station wallet unauthorized txs
- Web3Auth extension is missing setDefaultSignOptions
- Module not found: Error: Can't resolve '@interchain-ui/react' HOT 1
- Blocked by CORS when sending transaction HOT 2
- patch verbose cosmos-kit
- EVM address from Keplr
- support EIP6963
- upgrade chain registry v1 type for cosmos-kit ( it was too old)
- working for cosmos-kit for automatically publish
- add test for cosmos-kit
- Cosmos-Kit - MockWallet & Tests
- useChain, UseChains, and useChainWallet always returns disconnected HOT 1
- Cannot install package HOT 1
- useChainWallet not updating on connect HOT 1
- [@cosmos-kit/cosmos-extension-metamask] Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03 HOT 1
- [cosmos-kit] Dropdown for wallet info
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmos-kit.