1) Brown the onions in oil.
2) Add the peas, sugar and water.
3) Cover and cook on a low heat for 20 minutes.
4) Combine the butter and flour and mix until you have a smooth dough.
5) Using your hands, roll the dough into balls and add them to the pan.
6) Add the ginger, peanuts, pecans, cashews and the salt.
7) Cook on a low heat for ten minutes to let the ingredients infuse.