@xchainjs/xchain-cosmos
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@xchainjs/xchain-client

Cosmos Module for XChainJS Clients

Installation

yarn add @xchainjs/xchain-cosmos

Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-cosmos.

yarn add @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios cosmos-client/core

Cosmos Client Testing

yarn install
yarn test

Documentation

How xchain-cosmos works
How to use xchain-cosmos

Service Providers

This package uses the following service providers:

Function Service Notes
Balances Cosmos RPC https://cosmos.network/rpc/v0.37.9 (GET /bank/balances/{address})
Transaction history Cosmos RPC https://cosmos.network/rpc/v0.37.9 (GET /txs)
Transaction details by hash Cosmos RPC https://cosmos.network/rpc/v0.37.9 (GET /txs/{hash})
Transaction broadcast Cosmos RPC https://cosmos.network/rpc/v0.37.9 (POST /txs)
Explorer BigDipper https://cosmos.bigdipper.live

Rate limits: No

Extras

Important note: Make sure to install same version of cosmos-client/core as xchain-cosmos is using (currently "@cosmos-client/core": "^0.45.1", ). In other case things might break.

Readme

Keywords

Package Sidebar

Install

npm i @xchainjs/xchain-cosmos

Weekly Downloads

712

Version

1.0.3

License

MIT

Unpacked Size

23.7 MB

Total Files

13

Last publish

Collaborators

  • thorianite
  • polaris_9r
  • thorchain_org
  • _stu
  • veado
  • thatstrangeguy
  • junkai121
  • sarawut11
  • thorswap
  • hodrthemediocre