The answer is both! However, to understand how this is possible, we need to look through non-physical lenses, since heaven is not in time and space. This will take a little setup.
The spiritual world consists not of physical matter but of spiritual substance. What is spiritual substance? It is disposition, endeavor, and intention. These spiritual qualities are the fundamental law-generating forces of the universe.
These primal dynamical essences are also all derivatives of Love. Heaven is not simply a “place” where people love, it is where love finds form, measure, and embodiment in the various spiritual qualities of the hearts and minds of those who inhabit this non-local and non-temporal realm.
Evidence for this claim is that the human heart and mind are not completely constrained by the laws that govern spacetime. For instance, we can share half of our knowledge with others yet still keep all of our knowledge (this cannot be done with physical possessions). Also, the human function of memory brings back things that already took place in time, and therefore, the reality of the event finds perpetuity beyond the physical duration of the event.
When we die and shed the constraints of our physical bodies, we live as spiritual beings with spiritual bodies and under spiritual laws. Not only are our spiritual bodies the measurement and morphogenetic expression of our loves, beliefs, and worldviews, so is the topological quality of our final spiritual abode.
God loves everyone equally. But there is differentiation in heaven because not everyone responds to Gods love equally—which is according to the measure of our love for others (for this is a primary spiritual precept and law).
Heaven is socialistic because everyone seeks the best for everyone else—from the principle of love. Heaven is also capitalistic because some aspire to this noble undertaking more than others—from the magnitude of their love.
“Currency” in the other world is truth—the measure of our love. The more sincere love we have for others the greater the richness of our lives. This richness is instantly reflected by the spiritual environment’s reciprocal response to mirror our inner qualities (everything there is living, spiritual substance). We see powerful examples of environments and habitats taking on the qualities of the human psyche in books and movies—like having evil people lurking in the shadows. Horror stories always depict monsters living in caves, swamps, or in dark, empty castles and mostly coming out at night. This creative story telling comes from our instinctive knowledge about the nature and reciprocal dynamics of the spiritual world.
To repeat, the spiritual world is a holographic feedback system that faithfully projects the qualities of our hearts and minds onto the topological features that make up our eternal environment. Since everything in this realm represents some expression of love, socialism (sharing our talents) and capitalism (increased worth to human society through our developed capacities and aspirations to be useful) are put into perfect harmony.
Only God’s heavenly government can bring about such harmony between what normally seems to us terrestrial humans like opposing values.