Questions tagged [cli]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Calling an extrinsic using the polkadot-js-api CLI tool

How can I call an extrinsic on a palette using the polkadot-js-api CLI tool? I don't see much documentation on the tool nor does the --help provide much detail. Could I use this tool for this ...
0 votes
1 answer
32 views

What is the best way to find the genesis hash for a chain?

My understanding is the following terms which are used in different contexts and applications all refer to the same thing: "genesis hash", "network key", "chain id". I ...
  • 256
3 votes
1 answer
56 views

How to see the hardware benchmark results?

Substrate has introduced a flag called --no-hardware-benchmarks to disable automatic hardware benchmarks. This implies if the flag is not set, the benchmark should run automatically at startup and ...
  • 256
3 votes
1 answer
62 views

Calling CLI subcommand through different terminal after running the node

I'm trying to set some off-chain storage through a different terminal using a custom subcommand after starting up the node. Question here is: Is there any way to call the custom CLI subcommand in the ...
8 votes
2 answers
49 views

What does the `--dev` flag do?

I get a different set of behaviors when running my node with --dev than when I run my node with my own custom setup. What is happening in the background?
  • 12.3k
6 votes
2 answers
67 views

What is the internal logic of `--force-authoring` flag?

From where do I get the internal logic of --force-authoring flag? Here is my scenario: I've added a custom chain-spec that is similar to the default one where we are setting the environment for --dev ...
9 votes
3 answers
53 views

What does the `--tmp` flag do when running the Substrate Node Template?

The Substrate Node Template says in the "Run" section of the README, that the single-node development chain will start with "non-persistent state" if run with the following command:...
  • 215