Crates.io | ternoa-cli |
lib.rs | ternoa-cli |
version | 0.1.1 |
source | src |
created_at | 2022-12-30 18:04:13.252326 |
updated_at | 2022-12-30 18:27:56.427681 |
description | CLI tool for querying Ternoa chain |
homepage | |
repository | |
max_upload_size | |
id | 747978 |
size | 2,927,256 |
This is a Rust command-line tool for the Ternoa chain.
It currently supports queries on Ternoa chain for specific parameters
cargo install ternoa-cli
ternoa-cli --help
ternoa-cli count --help
ternoa-cli state --help
Example 1: To get count of nominators from alphanet:
ternoa-cli -n alphanet count nominators
Example 2: To get count of nfts from mainnet:
ternoa-cli -n mainnet count nfts
or
ternoa-cli count nfts
(as mainnet is the default network selected)