Skip to main content

celocli network

View details about the network, like contracts and parameters

celocli network:contracts

Lists Celo core contracts and their addesses.

USAGE
$ celocli network:contracts [--globalHelp] [--columns <value> | -x] [--filter
<value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml | | ]
[--sort <value>]

FLAGS
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--globalHelp View all available global flags
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)

DESCRIPTION
Lists Celo core contracts and their addesses.

See code: src/commands/network/contracts.ts

celocli network:info

View general network information such as the current block number

USAGE
$ celocli network:info [--globalHelp] [-n <value>]

FLAGS
-n, --lastN=<value> [default: 1] Fetch info about the last n epochs
--globalHelp View all available global flags

DESCRIPTION
View general network information such as the current block number

See code: src/commands/network/info.ts

celocli network:parameters

View parameters of the network, including but not limited to configuration for the various Celo core smart contracts.

USAGE
$ celocli network:parameters [--globalHelp] [--raw]

FLAGS
--globalHelp View all available global flags
--raw Display raw numerical configuration

DESCRIPTION
View parameters of the network, including but not limited to configuration for the
various Celo core smart contracts.

See code: src/commands/network/parameters.ts