Dry roast all the ingrediants given in the list except coconut for 5 mins on a low heat till the colour changes. Add coconut and roast it for 3-4 mins untill it turns colour. Remove it and allow it to cool down. Now grind it in a blender till it turns into a powder. Set this aside.
Heat oil in a kadai. Add mustard,dry red chilli and curry leaves and let it pop. Add in sweet potato along with salt and turmeric and give a mix.
Add some water and cover the pan. Simmer it till the potatoes are cooked and all water has evaporated.
Now add in the powder and mix well. Fry for 2 mins.