You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI tool for extracting diverse data from Cosmos chain snapshots
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