Currency, and this is going to be astonishing to hear, isn't capitalism. Capitalism is the system of economics where owners of capital control the profits from that capital, even if they can't get those profits without the labor of others. It has fuck-all to do with literal currency which has existed since far before Capitalism and will exist far after it as well.
Neither socialism nor communism are incompatible with currency cause that's just a way of expediting the exchanging of goods. Instead of social debt, people exchange currency instead for goods or services. Makes keeping everything straight quite a bit easier. Hoarding it is problematic in any system, since the whole point of currency is to, again, aid in the exchange of things.