Wash the sweet potato thoroughly, peel it, boil, and mash it.
Boil the eggs, separate the whites and yolks, and chop them finely.
In a bowl, add mashed sweet potato, chopped eggs, mayonnaise, salt, and pepper, then mix evenly.
Transfer the completed sweet potato egg mayo to a bowl for serving.