@ezstaking_tools/chain-registry
TypeScript icon, indicating that this package has built-in type declarations

1.11.5 • Public • Published

chain-registry

The npm package for the Official Cosmos chain registry

npm install chain-registry

A unified store of chains info, assets, asset lists, and IBC channels for the Cosmos ecosystem. Get everything from token symbols, logos, and IBC denominations for all assets you want to support in your application.

example

import { assets, chains, ibc } from 'chain-registry';

const assetList = assets.find(({chain_name})=>chain_name==='osmosis');

console.log(assetList);

will output:

{
  '$schema': '../assetlist.schema.json',
  chain_name: 'osmosis',
  assets: [
    {
      description: 'The native token of Osmosis',
      denom_units: [Array],
      base: 'uosmo',
      name: 'Osmosis',
      display: 'osmo',
      symbol: 'OSMO',
      logo_URIs: [Object],
      coingecko_id: 'osmosis'
    },
    {
      denom_units: [Array],
      base: 'uion',
      name: 'Ion',
      display: 'ion',
      symbol: 'ION',
      logo_URIs: [Object],
      coingecko_id: 'ion'
    }
  ]
}

Credits

🛠 Built by Cosmology — if you like our tools, please consider delegating to our validator ⚛️

Readme

Keywords

none

Package Sidebar

Install

npm i @ezstaking_tools/chain-registry

Weekly Downloads

2

Version

1.11.5

License

SEE LICENSE IN LICENSE

Unpacked Size

1 MB

Total Files

15

Last publish

Collaborators

  • keupsonite