This sort of scenario was so undesirable that societies must have created money to facilitate trade, argues Smith. Aristotle had similar ideas, and they’re by now a fixture in just about every introductory economics textbook. “In simple, early economies, people engaged in barter,” reads one. (“The American Indian with a pony to dispose of had to wait until he met another Indian who wanted a pony and at the same time was able and willing to give for it a blanket or other commodity that he himself desired,” read an earlier one.)
It is estimated that over 450,000 businesses in the United States were involved in barter exchange activities in 2010. There are approximately 400 commercial and corporate barter companies serving all parts of the world. There are many opportunities for entrepreneurs to start a barter exchange. Several major cities in the U.S. and Canada do not currently have a local barter exchange. There are two industry groups in the United States, the National Association of Trade Exchanges (NATE) and the International Reciprocal Trade Association (IRTA). Both offer training and promote high ethical standards among their members. Moreover, each has created its own currency through which its member barter companies can trade. NATE's currency is the known as the BANC and IRTA's currency is called Universal Currency (UC).[28]
Adam Smith, the father of modern economics, sought to demonstrate that markets (and economies) pre-existed the state, and hence should be free of government regulation. He argued (against conventional wisdom) that money was not the creation of governments. Markets emerged, in his view, out of the division of labour, by which individuals began to specialize in specific crafts and hence had to depend on others for subsistence goods. These goods were first exchanged by barter. Specialization depended on trade, but was hindered by the "double coincidence of wants" which barter requires, i.e., for the exchange to occur, each participant must want what the other has. To complete this hypothetical history, craftsmen would stockpile one particular good, be it salt or metal, that they thought no one would refuse. This is the origin of money according to Smith. Money, as a universally desired medium of exchange, allows each half of the transaction to be separated.[2]
Although, as a general case, a ship unlucky in falling in with whales continues to cruise after them until she has barely sufficient provisions remaining to take her home, turning round then quietly and making the best of her way to her friends, yet there are instances when even this natural obstacle to the further prosecution of the voyage is overcome by headstrong captains, who, bartering the fruits of their hard-earned toils for a new supply of provisions in some of the ports of Chili or Peru, begin the voyage afresh with unabated zeal and perseverance. 

Anthropologists have argued, in contrast, "that when something resembling barter does occur in stateless societies it is almost always between strangers."[6] Barter occurred between strangers, not fellow villagers, and hence cannot be used to naturalistically explain the origin of money without the state. Since most people engaged in trade knew each other, exchange was fostered through the extension of credit.[7][8] Marcel Mauss, author of 'The Gift', argued that the first economic contracts were to not act in one's economic self-interest, and that before money, exchange was fostered through the processes of reciprocity and redistribution, not barter.[9] Everyday exchange relations in such societies are characterized by generalized reciprocity, or a non-calculative familial "communism" where each takes according to their needs, and gives as they have.[10]

Communities of Iroquois Native Americans, for instance, stockpiled their goods in longhouses. Female councils then allocated the goods, explains Graeber. Other indigenous communities relied on “gift economies,” which went something like this: If you were a baker who needed meat, you didn’t offer your bagels for the butcher’s steaks. Instead, you got your wife to hint to the butcher’s wife that you two were low on iron, and she’d say something like “Oh really? Have a hamburger, we’ve got plenty!” Down the line, the butcher might want a birthday cake, or help moving to a new apartment, and you’d help him out.
Bartering does have its limitations. Many bigger (i.e., chain) businesses will not entertain the idea and even smaller organizations may limit the amount of goods or services for which they will barter (i.e., they may not agree to a 100% barter arrangement and instead require that you make at least partial payment). But in an economic crunch, bartering can be a great way to get the goods and services you need without having to pull money out of your pocket.