Run your node as a genesis validator
1. Wait for the genesis file to be ready, CHAIN_ID
.
2. Join the network with the CHAIN_ID
export CHAIN_ID="public-testnet-8.0.b92ef72b820"
namada client utils join-network \
--chain-id $CHAIN_ID --genesis-validator $ALIAS
3. Start your node and sync
NAMADA_LOG=info TM_LOG_LEVEL=p2p:none,pex:error NAMADA_TM_STDOUT=true namada node ledger run
Optional: If you want more logs, you can instead run
NAMADA_LOG=debug TM_LOG_LEVEL=p2p:none,pex:error NAMADA_TM_STDOUT=true namada node ledger run
And if you want to save your logs to a file, you can instead run:
TIMESTAMP=$(date +%s)
NAMADA_LOG=debug TM_LOG_LEVEL=p2p:none,pex:error NAMADA_TM_STDOUT=true namada node ledger run &> logs-${TIMESTAMP}.txt
tail -f -n 20 logs-${TIMESTAMP}.txt ## (in another shell)
4. If started correctly you should see a the following log:
[<timestamp>] This node is a validator ...