Ripple Labs has been ordered to pay a $125 million fine after a federal judge ruled in favor of the Securities and Exchange Commission (SEC), which accused Ripple of violating US securities laws.