Add shallots, garlic, and chili to a food processor or mortar and make a paste.
Scramble Egg
Heat wok and add oil. Wait till the oil gets almost smoky.
Beat one egg, and add to the hot wok.
Swirl the egg around, and scramble it with a spatula. Remove from wok and keep aside.
Stir Fry
Add oil to the wok and heat till it's smoky.
Once hot, add the sambal paste and fry for 2 minutes till well cooked, and the ingredients do not look raw anymore. The oil should separate from the paste.
Add peas and fry till they are well cooked for, about 2 minutes.
Now add rice and keep stir frying till it is well coated with sambal paste. Break any lumps with the spatula.
Add Kecap Manis, Soy Sauce, Salt and Pepper.
Fry till all ingredients are well mixed. Remove in a plate to serve.
Garnish
Add oil to the wok, and add the second egg.
Heat till the white is well cooked, and the yolk is still runny.
Add this egg over the rice.
Add other garnishes like fried onion, sliced tomatoes, sliced cucumbers, coriander, and spring onions. Serve hot.