Expand description
Substrate CLI library.
This package has two Cargo features:
-
cli
(default): exposes functions that parse command-line options, then start and run the node as a CLI application. -
browser
: exposes the content of thebrowser
module, which consists of exported symbols that are meant to be passed through thewasm-bindgen
utility and called from JavaScript. Despite its name the produced WASM can theoretically also be used from NodeJS, although this hasn’t been tested.
Modules
- Substrate chain configurations.
- Service implementation. Specialized wrapper over substrate service.
Structs
- An overarching CLI command definition.
Enums
- Possible subcommands of the main binary.
Functions
- Parse command line arguments into service configuration.