Dry roast peanut till they are brownish and then add dry coconut(or dessicated coconut).
Roast till coconut is brownish.
Grind them to a coarse powder and keep it aside.
Heat oil and add mustard seeds.
When they start popping, add urad dal.
Fry for a min and then add curry leaves, ginger.
Then add onion and fry till brownish.
Add green beans, potatoes, chilli powder, turmeric, coriander powder and salt.
Mix everything well.
Cover and cook on a medium-low flame till the beans and potatoes are cooked.
Make sure to cook on low heat, since there is no water added, it will get burnt if cooked on high.
Add the peanut-coconut powder and mix well.
Cook for another 1-2mins.
Take off heat and serve hot as a sidedish with rice or chapati.