Coinbase has bought Bitcoin startup Earn.com (formerly 21.co) and hired CEO Balaji Srinivasan as its chief technology officer.