Follow the steps in order for the best result.
Process the chopped fish and egg in a food processor until the mixture is smooth.
Transfer the fish mixture to a bowl and thoroughly incorporate the chopped peanuts.
Take rounded tablespoons of the fish mixture and form them into balls. Gently flatten each ball into a patty shape.
Deep fry the patties in hot oil, working in batches to avoid overcrowding the pan, until they are browned and fully cooked through. If desired, place the cooked patties on paper towels to drain excess oil.
To prepare the spicy mayonnaise: In a bowl, combine the mayonnaise, finely chopped shallot, red curry paste, chopped coriander, lime juice, and sugar. Ensure all ingredients are well mixed. Chill until the fish patties are ready to serve, if desired.