1.1.4 • Published 2 years ago

cosmos-chain-registry-reader v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

cosmos-chain-registry-reader

node.js module to cache and query the cosmos chain-registry

Installation

npm i cosmos-chain-registry-reader

Setup

import { CHAIN_REGISTRY } from "cosmos-chain-registry-reader";

Usage

// fetch the chain-registry asynchronously. Call again to refresh
await CHAIN_REGISTRY.load();  

// query the cached registry, optionally filter fields and values
CHAIN_REGISTRY.query({
  "filter_fields": ["chain_name", "pretty_name", "chain_id", "bech32_prefix", "slip44", "apis.rest"],
  "search": {
    "chain_name": ["akash","sentinel"]
  }
});
1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago