#chain #parameters #cli #tool #command-line-tool #querying #ternoa

app ternoa-cli

CLI tool for querying Ternoa chain

2 releases

0.1.1 Dec 30, 2022
0.1.0 Dec 30, 2022

#70 in #querying

GPL-3.0 license

190KB
326 lines

Ternoa CLI

Description

This is a Rust command-line tool for the Ternoa chain.

Features

It currently supports queries on Ternoa chain for specific parameters

Installation

cargo install ternoa-cli

Usage

ternoa-cli --help

ternoa-cli count --help

ternoa-cli state --help

For specifying network use the -n flag.

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)

Dependencies

~29–42MB
~789K SLoC