That's definitely true of language. It had to be developed iteratively by a community, probably over many generations.
Hypothetically, one entrepreneur could have noticed that one particular good was very widely valued in his community and began using it in indirect exchange.