Asante and Dahomey were West African powers that adapted to the decline of the slave trade by shifting their focus to "legitimate commerce." They engaged in trade activities involving commodities such as palm oil, cocoa, timber, and gold.
These became the foundations of West Africa's modern export trade, allowing these states to thrive economically after the decline of the slave trade.