Economics textbooks long told the story of money this way: people first bartered — a cow for a heap of grain — found it awkward, and invented money to make swapping easier. No one has found the society in that story. Anthropologists have studied a great many communities without money and found none that runs on barter between neighbours; when barter happens, it is mostly between strangers. What they find instead are obligations: gifts given and owed, debts remembered, compensation paid for an injury, goods passed on at a marriage. When money first appears in the written record, it appears as a way of keeping count of what people owe.