RPC, Peers, Seed, Addrbook, Genesis

peers:

9ceec8b9889dbe25259e14e2efd5fb5615434512@namada-testnet-peer.itrocket.net:33656

seed:

c9286ee86b6a57128f7cb60ab6979bf12fa1c52a@namada-testnet-seed.itrocket.net:33656

live peers:

active peers: 0 (upd. every 10 sec)

PEERS="tcp://9ceec8b9889dbe25259e14e2efd5fb5615434512@namada-testnet-peer.itrocket.net:33656"
sed -i 's#persistent_peers = ".*"#persistent_peers = "'$PEERS'"#' $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/config.toml

addrbook:

updates every hour

wget -O $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/config/addrbook.json https://server-4.itrocket.net/testnet/namada/addrbook.json

genesis

wget -O $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/config/genesis.json https://server-4.itrocket.net/testnet/namada/genesis.json

Snapshot

## Snapshot is not available yet

updates every 4h

sudo systemctl stop namadad
SNAP_NAME=$(curl -s https://server-4.itrocket.net/testnet/namada/.current_state.json  | jq -r '.snapshot_name')
cp $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/data/priv_validator_state.json $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/priv_validator_state.json.backup
rm -rf $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/data $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/{db,wasm}
curl https://server-4.itrocket.net/testnet/namada/$SNAP_NAME | lz4 -dc - | tar -xf - -C $HOME/.local/share/namada/housefire-cotton.d3c912fee7462
mv $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/priv_validator_state.json.backup $HOME/.local/share/namada/housefire-cotton.d3c912fee7462/cometbft/data/priv_validator_state.json
sudo systemctl restart namadad && sudo journalctl -u namadad -f
logo
Copyright © 2024 ITRocket. All Rights Reserved.