Grind grated coconut, onions, ginger green chilies, and salt in a mixie to make a fine paste by adding water. Heat oil in a pan. Add the mustard seeds. Then add sliced shallots, red chilly and curry leaves respectively. Then pour grinded mixture into it and heat it in a low flame. Don’t let it boil.