Heat the oil in a pan.
Add the garlic, ginger, shallots, and chilies and saute until fragrant, about a minute.
Add the shrimp and saute for a minute on both sides.
Add the water, tomato sauce, sweet chili sauce, lime juice. sugar and corn starch and bring to a boil.
Stir the egg into the pan and continue stirring until the egg is cooked.
