For the complete documentation index, see llms.txt. This page is also available as Markdown.

Node CLI

This page will guide you through the CLI fields available for the node and other tools from the mx-chain-go repository.

Introduction​

The Command Line Interface of the Node and its associated Tools is described at the following locations:

  • Node

  • SeedNode

  • Keygenerator

  • TermUI

  • Logviewer

Examples​

To launch an Observer Node, use the command:

./node --rest-api-interface=localhost:8080 \
 --log-save --log-level=*:DEBUG --log-logger-name \
 --destination-shard-as-observer=0 --start-in-epoch\
 --validator-key-pem-file=observer0.pem

To start a Node as a Metachain Observer, use the command:

./node --rest-api-interface=localhost:8080 \
 --use-log-view --log-save --log-level=*:DEBUG --log-logger-name \
 --destination-shard-as-observer=metachain --start-in-epoch\
 --validator-key-pem-file=observerMetachain.pem

Last updated