Skip to content

0xcompose/chainlist-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chainlist CLI

Command Line Interface for Chainlist functionality:

  • Finding networks by name / chain ID
  • Getting Chain RPC URLs
  • Checking RPC URLs
  • Getting Chain's block explorer

Installation

make install

This will install the chainlist command globally.

Usage

Search by chain name:

chainlist arbitrum

Search by chain ID:

chainlist 56

Check RPC endpoint health:

chainlist ethereum --check-rpc

Features

  • Smart Caching: Caches data for 1 hour to reduce API calls
  • Flexible Search: Case-insensitive search by name or exact chain ID
  • RPC Health Check: Test RPC endpoints with --check-rpc flag
  • Colored Output: Easy-to-read terminal output with color coding
  • Comprehensive Info: Shows chain details, RPC URLs, and block explorers

Requirements

  • jq - JSON processor
    brew install jq

Uninstall

make uninstall

About

Command Line Interface for Chainlist.org written in Bash

Topics

Resources

Stars

Watchers

Forks