Blend shallots (6), garlic (8), lemongrass (1), ginger (1) and dried (5) and Thai red chiles (2) to a smooth paste.
Heat oil (5 tbsp) in a deep pot over medium. Stir-fry the paste 6–8 min until fragrant and deepened in colour.
Add curry powder (5 tbsp), chile powder (1/2 tsp) and salt (1 tsp); fry 3–5 min until it glistens and an oily film splits out (pecah minyak). Add a splash of water if it burns.
Add cinnamon (1), star anise (2), curry leaves and chicken (1130 g); fry 3–5 min to coat. Cover with water (950 ml), lid on, simmer 10 min. Add potatoes (3) and simmer 25–30 min until cooked through.
Stir in coconut milk (360 ml) and simmer 2–3 min. Adjust salt (1 tsp) and serve hot.