Heat a tsp of oil a pan on a medium flame, add in the dry roast masala ingredients except coconut and fry for few seconds.
Add in the coconut and roast until slightly browned.
Allow the masala to cool down and grind to smooth paste by adding little water.
Heat 2 tbsp oil in the same pan, add the hard-boiled eggs with turmeric, red chili and salt.Fry the eggs until browned from all the sides.
In a heavy bottom pan, heat the remaining oil. Once the oil is hot, add mustard seeds, cumin seeds and curry leaves and let them crackle.
Add onion and ginger garlic paste and fry until raw smell goes off and onion becomes translucent.
Now add tomato puree and cook for 1-2 minutes. Then add coriander powder, red chilli powder and salt to taste and cook for 10 minutes until oil starts to separate from the sides.
Add some water if the masala is too dry. Then add the masala paste and cook for another 5-6 minutes.
Adjust the consistency of the gravy by adding water. Add the fried egg and cook the gravy on medium heat for 10-12 minutes.
Serve hot with steamed rice, Idli, Dosa, Paratha or Phulke.