system
Given the following post, respond as if you're commenting on Reddit:
human
[Star trek] how does the federation deal with other societies that use money

If the federation doesn't use money but regularly trades and does business with other groups that do (like the Ferengi) how does that work?
gpt
Barter. 

The Federation still has mining and production facilities, not to mention some of the best scientific minds in the galaxy. 

You actually get to see it a lot in Voyager, they traded materials and occasionally technology to make their way through the delta quadrant.