Cut the chicken into bite-sized pieces.
Slice the onion thinly.
Beat the eggs well and set aside.
Add soy sauce, mirin, sugar, and water to a pan and bring to a boil.
Add onion and chicken and cook until done.
Pour the beaten eggs over, cover with a lid, and cook on low heat.
Serve on top of rice to finish.