Heat the oil in a wok over medium high heat and add the anchovies. Fry for 1-2 minutes, then remove and set aside.
Add the shrimp paste, sambal, garlic, chilies, pepper, salt, and sugar and fry 30-60 seconds.
Add the anchovies back in. Add the water spinach and toss to combine. Let it cook down for 3-5 minutes, tossing regularly to prevent spices from burning.
Add the chicken and green onions and toss to combine.
Add the rice and toss to combine, breaking up any chunks of rice. Let cook 2-4 minutes, until fully combined and rice starts to brown lightly in places.
Remove from heat and serve topped with crispy fried shallots. You can also top with a fried egg.
Notes
Break up all the clumps in the rice before putting it into the wok/skillet.
You can substitute any protein for the chicken if you'd like. You can also brown it up if you don't have any cooked chicken.
You can also use this sambal belacan in place of the sambal and shrimp paste.
If you don't have a wok, you can use a large heavy bottomed skillet.
Never use olive oil for stir frying as it has a lower smoke point and also can have a strong flavor.
Don't use a nonstick pan as they should not be used over high heat.
I recommend gathering and measuring all your ingredients out before getting started because it will go quick once you start cooking.