Yeah money was invented to fix the problems of barter in the first place! Not everyone is a logger and not everyone has a wood stove. Hundreds of YouTube videos explain this. (Search ‘what is currency’ or ‘what is money’.)
Just use a currency that keeps its store of value, whether gold, bitcoin, silver, seashells, or fiat (for the day).