Prosperity was based entirely on the entrepot handling textiles from India , spices from Indonesia , silk and porcelain from China , gold and pepper from Sumatra , camphor from Borneo , sandalwood from Timor , and Malay tin from Perak .
The entrepot handled millions of dollars worth of exports each year .