Rinse the jasmine rice, then cook it with 720 ml (3 cups) water and salt: bring to a boil, cover, and simmer on low 12–15 minutes. Rest 5–10 minutes off the heat, then fluff.
In a large bowl, mix flour, cornstarch, salt, garlic powder, and onion powder. Toss the chicken pieces in the beaten egg if using, then coat thoroughly in the flour/cornstarch mixture.
Heat the frying oil to 180–190°C (355–375°F). Fry the chicken in batches 3–4 minutes until lightly golden and cooked through. Drain on a rack or paper towels.
In a small bowl, mix soy sauce, rice vinegar, sugar, and 75 ml water. In another bowl, mix 15 ml cornstarch with 30 ml cold water to make a slurry.
Raise the oil temperature to about 200°C (390°F) and fry the chicken a second time for 1–2 minutes until deep golden and extra crispy. Drain again.
Heat a wok or large pan over medium-high. Add sesame oil, then ginger, garlic, and chilies. Stir-fry 30–40 seconds until fragrant.
Pour in the soy/vinegar/sugar mixture and bring to a simmer. Stir the slurry and add it to the pan, cooking 1–2 minutes until thick and glossy.
Add the fried chicken to the sauce and toss until every piece is well coated. Stir in most of the green onions and sesame seeds.
Serve the General Tso’s chicken immediately over fluffy jasmine rice, topped with the remaining green onions and sesame seeds.