China plans a digital version of its currency, which some say could become a big global payment system.