Clean the green tomatoes and chop them into small cubes.
Cook the tomato pieces with ginger, chillies, and garlic in a thick-bottomed pan to remove their moisture.
Transfer the cooked tomatoes to a bowl and let them cool.
In a grinder, combine the cooked tomatoes, roasted peanuts, roasted dry coconut, salt, and jaggery. Grind until a soft paste is formed.
Prepare a tempering with oil, mustard seeds, cumin seeds, hing, turmeric, and curry leaves. Add it to the chutney before serving.