Slice the onions thinly.
Beat the eggs and set aside.
Heat cooking oil in a pan and sauté the onions.
When the onions become translucent, add soy sauce and sugar, then stir-fry.
Pour 100ml of water and bring to a boil.
Pour in the beaten eggs and cook until set.
Serve the onion and egg mixture over rice.