Finely chop tofu and anchovies.
Dice carrots and onions and add them.
Place the chopped tofu, anchovies, carrots, and onions in a mixing bowl.
Add eggs, salt, and pepper, then mix well.
Divide the mixture into 10 equal portions and shape into round patties.
Heat a pan with oil.
Cook the patties on the pan until both sides are golden brown.
Remove excess oil by placing the patties on paper towels.