Live Peers

  • Network Type: Mainnet
  • Chain-id: aaronetwork
  • Current Node version: v1.0.0
  • Automatically adding Live peers to your config.toml file

    peers="$(curl -sS https://rpc-aaronetwork.vinjan.xyz:443/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
    sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.aaronetwork/config/config.toml