As Smith described, people didn't invent money straight away. First, resources like salt and metals; then stuff you can melt (easily divisible). Then official coins of equal weight to fight counterfeiting and inaccuracy of weight.
I'm afraid this is one of the "history doesn't fit my ideology" pieces.