Finely chop tofu, eggs, carrots, and onion.
Heat cooking oil in a pan and sauté the onion and carrot.
Add tofu and stir-fry to evaporate moisture.
Add eggs and scramble, then mix with the other ingredients.
Add the rice and stir-fry, mixing everything well.
Season with soy sauce and salt.
Serve the finished fried rice in a bowl.