Remove and keep aside.
Roast all the ingredients for the paste on a dry skillet. Then grind them together along with the onions and the green chilies.
Heat oil and add the onions seeds, cumin and mustard seeds, when crackling add the cloves and the curry leaves.
Add the garlic and stir for a minute. Add the salan paste and continue stirring.
Add a few tablespoons of water at intervals to avoid paste sticking to the pan.
Add the tamarind pulp and ½ cup of water.
Stir for 5 minutes until the gravy resembles the consistency of a sauce and the oil begins to separate out.
Add the salt and the fried chilies to the hot gravy.
Simmer for about 5 minutes.
Remove and garnish with finely chopped coriander leaves.