Finely chop tofu, onion, carrot, and green onion.
Heat oil in a pan and stir-fry the tofu first to remove moisture.
Add onion, carrot, and green onion and stir-fry together.
Add curry powder and stir-fry well with the ingredients.
Add rice and mix well while stir-frying.
Beat the eggs and pour them around the edge of the pan, scramble, then mix evenly throughout.
Season with salt and pepper.