Expand description
Substrate CLI library.
Re-exports
Modules
Macros
Allows for calling $method with appropriate crypto impl.
Structs
Wrapper type that is either a 
Hash or the number of a Block.The 
build-spec command used to build a specification.The 
chain-info subcommand used to output db meta columns information.The 
check-block command used to validate blocks.Optional flag for specifying crypto algorithm
Parameters for database
Execution strategies parameters.
The 
export-blocks command used to export blocks.The 
export-state command used to export the state of a given block into
a chain spec.The 
generate commandThe 
generate-node-key commandWrapper type of 
String that holds an unsigned integer of arbitrary size, formatted as a
decimal.The 
import-blocks command used to import blocks.Parameters for block import.
The 
insert commandThe 
inspect commandThe 
inspect-node-key commandParameters of the keystore
A builder that is used to initialize the global logger.
Params to configure how a message should be passed into a command.
Parameters used to create the network configuration.
Optional flag for specifying network scheme
Parameters used to create the 
NodeKeyConfig, which determines the keypair
used for libp2p networking.Offchain worker related parameters.
Optional flag for specifying output type
Parameters to define the pruning mode
The 
purge-chain command used to remove the whole chain.The 
revert command used revert the chain to a previous state.The 
run command used to run a node.A Substrate CLI runtime that can be used to run a node or a command
Runtime version.
This should not be thought of as classic Semver (major/minor/tiny).
This triplet have different semantics and mis-interpretation could cause problems.
In particular: bug fixes should result in an increment of 
spec_version and possibly
authoring_version, absolutely not impl_version since they change the semantics of the
runtime.Shared parameters used by all 
CoreParams.The 
sign commandParameters used to create the pool configuration.
The 
vanity commandThe 
verify commandEnums
Specifies the pruning mode of the database.
Error type for the CLI.
Key utilities for the cli.
Role of the local node.
Traits
Common interface of a chain specification.
A trait that allows converting an object to a Configuration
Default configuration values used by Substrate
Substrate client CLI
Functions
Build a tokio runtime with all features
Generate a valid random name for the node
Parse Ss58AddressFormat
Log information about the node itself.
Parse a sercret string, returning a displayable error.
Type Definitions
Result type alias for the CLI.