grpc-initia.suntzu.dev:9090
6e741af89a05e6c30b4b7fb8620edc6df32a3bd2@65.109.36.106:26656
PEERS=$(curl -s --max-time 3 --retry 2 --retry-connrefused "https://rpc-initia-testnet.trusted-point.com/peers.txt")
if [ -z "$PEERS" ]; then
echo "No peers were retrieved from the URL."
else
echo -e "\nPEERS: "$PEERS""
sed -i "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" "$HOME/.initia/config/config.toml"
echo -e "\nConfiguration file updated successfully.\n"
fi
sudo systemctl stop initiad && \
wget -O $HOME/.initia/config/addrbook.json https://rpc-initia-testnet.trusted-point.com/addrbook.json
sudo systemctl restart initiad && sudo journalctl -u initiad -f -o cat