Launch companion processes

Launch validator companion processes tofnd and vald.

Launch tofnd

You may wish to redirect log output to a file. Enter the tofnd password on stdin after the process is launched.

$QPD_HOME/bin/tofnd -m existing -d $QPD_HOME/tofnd >> $QPD_HOME/logs/tofnd.log 2>&1

View your logs in real time:

tail -f $QPD_HOME/logs/tofnd.log

Launch vald

Learn the valoper address associated with your validator account:

$QPD_HOME/bin/QPd keys show validator --bech val -a --home $QPD_HOME

Let {VALOPER_ADDR} denote this address.

Launch vald. Here are two ways to do it:

  1. Basic.
$QPD_HOME/bin/QPd vald-start --validator-addr {VALOPER_ADDR} --chain-id $QPD_CHAIN_ID --log_level debug --home $QPD_HOME
  1. Redirect logs to file. The password prompt may not be visible because stdout is redirected to the log file. In this case you may wish to pipe in your keyring password. See Keyring backend for more info.
echo $KEYRING_PASSWORD | $QPD_HOME/bin/QPd vald-start --validator-addr {VALOPER_ADDR} --chain-id $QPD_CHAIN_ID --log_level debug --home $QPD_HOME >> ${QPD_HOME}/logs/vald.log 2>&1

View your logs in real time (if you selected option 2 above):

tail -f ${QPD_HOME}/logs/vald.log
Edit this page