Skip to content

🌌 CLI tool for extracting diverse data from Cosmos chain snapshots

License

Notifications You must be signed in to change notification settings

axone-protocol/cosmos-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cosmos Extractor

CLI tool for extracting diverse data from Cosmos chain snapshots

version lint build test codecov conventional commits semantic-release Contributor Covenant License

Purpose

cosmos-extractor is a simple CLI tool designed to extract (dump) different types of data from Cosmos chain snapshots. Originally built for Axone’s internal needs, it’s open for anyone who wants to dig into Cosmos-based blockchains.

Features

  • Export chain store information.
  • Export delegators and their delegations.

Usage example

# Export delegators and their delegations to a CSV file for the Bitsong chain if they have between 1000 and 1500 BTSG staked.
$ cosmos-extractor extract delegators ./bitsong/data \
  --chain-name bitsong \
  --output ./extracts/bitsong-delegators.csv \
  --hrp cosmos \
  --min-shares 1000000000 \
  --max-shares 1500000000

Build

The project uses Make for building and managing the project. To build the project, run the following command:

make build

Install

To install the CLI tool, run the following command:

make install

About

🌌 CLI tool for extracting diverse data from Cosmos chain snapshots

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published