Because they were accepted in both West and East African trading states, cowrie shells served as a basic system of foreign exchange for the trans-Saharan trade network. Muslim merchants or Berber agents, who were middlemen, would use cowrie shells to purchase goods from local traders in villages or port cities.