Soak 1 ¾ cup dried chili peppers, in boiling water for 5-10 minutes until rehydrated. Then drain.
In a food processor, add 1 ¾ cup dried chili peppers, 1-5 red bird’s eye chilies, 1 Tbsp Belacan shrimp paste, 2 shallots, 4 garlic cloves, and ½ cup water. Blend until smooth.
In a large pan or wok, heat ¼ cup peanut oil. Pour the sambal paste into the hot oil and fry for 2 minutes.
Then reduce the heat and cook for 10 to 15 minutes, until the oil starts to separate out.
Then add 1 Tbsp tamarind paste, 1 tbsp coconut sugar, ½ tsp salt, and ½ medium red onion
Continue cooking on low until the red onions soften, about 10 minutes .
Remove from the heat and set aside.