Run Validator Node

How to Run a Validator Node

This command starts the ArgoChain node as a validator. If you prefer to run the node in the background, use nohup to prevent the process from terminating when you close the terminal:

nohup ./target/release/argochain --chain minervaRaw.json --base-path /var/opt/argochain --port 30333 --rpc-port 9944 --telemetry-url "wss://telemetry.polkadot.io/submit/ 0" --name REPLACEME --validator --rpc-methods Unsafe --unsafe-rpc-external --rpc-max-connections 100 --rpc-cors all &

It is strongly recommended to use /var/log/argochain as your base path to ensure that the data remains persistent.

Use /var/log/argochain to ensure log files are preserved during system crashes, enhancing your application's reliability and easing troubleshooting. This practice is essential for tracking events, diagnosing issues, and maintaining operational history.

Now you can view the logs and output after this by running:

tail -f nohup.out

This allows you to run the blockchain in the background so you may stay in this terminal window for the next steps.

Last updated