In a medium bowl, beat the eggs with the salt and white pepper and set aside.
In a large wok or skillet over high heat, add the oil. When shimmering, add the whites of the green onions and the tomatoes, Cook, stirring often, just until the tomatoes begin to soften and break down, 1-2 minutes.
Add the sugar, soy sauce, and shaoxing wine and allow to simmer, stirring, for about 30 seconds.
Pour in the beaten eggs and sprinkle over the remaining green onion, reserving a small amount for garnishing if you like. Cook, stirring, for about 30 seconds or until the egg is done to your liking.
Taste and season with more salt and pepper if needed, then serve hot, with rice if desired.