| Crates.io | chain-registry-interface |
| lib.rs | chain-registry-interface |
| version | 0.0.1-alpha1 |
| created_at | 2026-01-10 12:06:49.035385+00 |
| updated_at | 2026-01-13 08:15:04.852161+00 |
| description | Typed runtime access to Cosmos chain-registry (schemas only; no embedded data). |
| homepage | https://github.com/puneet2019/chain-registry-interface |
| repository | https://github.com/puneet2019/chain-registry-interface |
| max_upload_size | |
| id | 2034100 |
| size | 53,357 |
Typed runtime access to the Cosmos chain-registry at runtime. This crate mirrors the official JSON schemas (no embedded data) and provides minimal helpers to fetch JSON from GitHub.
Key points:
Install (after publish):
[dependencies]
chain-registry-interface = "0.0.1"
Example
use chain_registry_interface::fetch_chain;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let chain = fetch_chain("osmosis").await?;
println!("{}", chain.chain_name);
Ok(())
}
Helpers
License: Apache-2.0 OR MIT Repository: https://github.com/puneet2019/chain-registry-interface