Ripple Labs did not violate federal securities law by selling its XRP token on public exchanges, a US judge ruled…