CLI
This section provides information on the node's command-line interface.
What is CLI
CLI stands for Command Line Interface.
humanode-peer
is a command line application, and it exposes a CLI as all the other console commands do.
General CLI layout
humanode-peer
is an executable with multiple subcommands. If no subcommands are specified, it will run as a Humanode blockchain node (we call it "run command"). If a subcommand is specified, the relevant subcommand will be executed.
To learn about the available subcommands, flags and options use the --help
flag:
Humanode is built on top of the Substrate framework, and we reuse most of the CLI from the standard Substrate layout.
Please refer to the Substrate documentation to learn more about the standard Substrate CLI:
Usage
You would typically run your blockchain node with the following arguments.
For development, it is nice to use --dev
flag:
Run command
We have a few flags that we've added on top of the standard Substrate CLI for the run command.
For the rest of the flags, please see the Substrate documentation as referred in the General CLI layout section.
Bioauth flags and options
There is a list of bioauth-related options and flags.
Bioauth options | Description |
---|---|
| The URL of robonode to authenticate with. Optional, typically set in chainspec so you don't have to pass it manually. |
| The URL to use for the web app. Used to print the QR Code to the console. Optional, typically set in chainspec so you don't have to pass it manually. |
| The URL to pass to the web app to connect to the node RPC. If not passed, a URL with |
| Detect RPC URL from |
| The tunnel name at |
| What RPC URL port to prefer.
[default: |
| Explicitly unset the RPC URL. Might be useful if you want to do something exotic, but generally, you'd want the RPC URL set. |
Last updated