Well, for that to happen... other countries currently supporting the US Dollar would have to agree to that and pledge their support for the Chinese Yuan or the digital equivalent of it.

China being a communist country with an oppressive government will not count in their favour to get other countries to agree with that.
@Kakmakr no country in their right mind will pledge support for the Chinese Currency, because Yuan is not a globally accepted currency, and even if few countries try to support it their own citizens will protest against it, hence I don’t think any country will choose Yuan over the dollar.
First, the Chinese yuan is a globally accepted currency. It is one of the global reserve currencies.
Second, it is one thing to freely say no to Yuan and it is quite another to be forced to say yes for certain reasons. For one, your country may be heavily indebted to China. And we all know how China is now offering a lot of grants to so many countries around the world, thereby trapping them in its terms.
Third, the huge majority of most countries' citizens are not even aware of what a global reserve currency is.