Wash, wipe and slit green chillies lengthwise without cutting through. Heat sufficient oil in a kadai and deep fry for one minute. Drain on absorbent paper and keep aside. Dry roast sesame seeds, coriander seeds and cumin seeds.
Make paste of sesame seeds, peanuts, coriander seeds, cumin seeds, red chillies, ginger and garlic. Heat two tablespoons of oil in a pan, add mustard seeds, let it splutter and add curry leaves.
Add onion. Sauté until onion is light golden brown, stirring continuously. Add turmeric powder and mix well. Add masala paste and cook for three minutes, stirring continuously. Stir in one and half cups of water and bring it to a boil.
Reduce the heat and cook for ten minutes. Add tamarind pulp dissolved in half a cup of water, if it is too thick. Add fried green chillies and salt and cook on low heat for eight to ten minutes. Serve hot.