Crypto firm Ripple said it has agreed to buy treasury management software provider GTreasury for $1 billion.