🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@xchainjs/xchain-cosmos

Package Overview
Dependencies
Maintainers
11
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-cosmos

Custom Cosmos client and utilities used by XChainJS clients

latest
Source
npmnpm
Version
3.0.9
Version published
Weekly downloads
420
64.06%
Maintainers
11
Weekly downloads
 
Created
Source

@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

xchain cosmos

How xchain-cosmos works
How to use xchain-cosmos

Service Providers

This package uses the following service providers:

FunctionServiceNotes
BalancesCosmos RPChttps://cosmos.network/rpc/v0.37.9 (GET /bank/balances/{address})
Transaction historyCosmos RPChttps://cosmos.network/rpc/v0.37.9 (GET /txs)
Transaction details by hashCosmos RPChttps://cosmos.network/rpc/v0.37.9 (GET /txs/{hash})
Transaction broadcastCosmos RPChttps://cosmos.network/rpc/v0.37.9 (POST /txs)
ExplorerBigDipperhttps://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.

Keywords

XChain

FAQs

Package last updated on 19 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts