314318c86315fb9a90e7fcaf828ba746c2ff0244@23.88.5.169:35656
PEERS=$(curl -s --max-time 3 --retry 2 --retry-connrefused "https://snapshots.liveraven.net/snapshots/mainnet/andromeda-protocol/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/.andromeda/config/config.toml"
echo -e "\nConfiguration file updated successfully.\n"
fi
curl -Ls https://snapshots.liveraven.net/snapshots/mainnet/andromeda-protocol/addrbook.json > $HOME/.andromeda/config/addrbook.json
curl -Ls https://snapshots.liveraven.net/snapshots/mainnet/andromeda-protocol/genesis.json > $HOME/.andromeda/config/genesis.json