Crush
or pound shallots, chilies, garlic, candlenuts and terasi with 2 tsp
peanut oil in a mortar with pestle or a food processor. Process until
smooth. Heat remaining oil in a frying pan or wok. Add paste and stir-fry
for 1-2 minutes. Add tamarind and sugar. Place paste in an airtight
container in the refrigerator and it will last 8-10 days.