Grind together ingredients for green chutney and set aside.
Take chicken in a bowl, add salt and green chutney and mix well. Set aside for 30 mins
Heat 1 tsp oil in a pan, add whole spices except powdered spices and coconut. Toast till lightly golden. Add in spice powders and mix well. Remove to a blender.
In the same pan add in coconut and roast till golden. Remove the blender and grind to a smooth puree.
Heat oil in a pan, add onions and cook till golden.
Add chicken and saute for 5 mins.
Add ground masala and water. Mix well.
Bring it to a boil and simmer for 30 to 40 mins till oil separates and chicken is cooked.