Exchange starts with barter between small groups of people, money emerges to solve coincidence of wants. Money moves us from direct exchange, good for good, to indirect exchange, good for money for good.
Which objective function does a good optimize to become money? Salability. Salability across scale (small and big transactions), space (across globe) and time (now and in the future) matter.