Thinly slice the onion.
Beat the eggs, add a pinch of salt, and mix well.
Heat cooking oil in a pan and sauté the onion until translucent.
Once the onion is cooked, pour in the eggs and quickly stir.
When the eggs are cooked, place the mixture over rice to finish.