The more interesting way to analyze history, rather than trying to evaluate the degree of barter, is to seek out the most saleable good which was in use at a given place and time. Humans must solve the problem of "coincidence of wants" (ie. You raise chickens and I'm a woodworker - do we always need each other's goods?). Naturally, they begin to use the most saleable good available to their community as "money" for trade. The most saleable good (the most marketable and easy to sell) is usually the good available to them which scores highest on the following five properties (imagine a radar chart): Divisibility, Durability, Portability, Fungibility, Scarcity.
This way of thinking can provide a satisfying explanation of the emergence of gold as a global store of value.
For more reading: https://mises.org/library/origin-money-and-its-value