Grate it. I used my food processor to grate. If you feel grating is difficult, you can chop the fruit and blend it off in batches. You need a blender with sharp blades to purée.
Heat a pan with ghee, add nuts and fry till golden. Add chopped almonds or cashews and fry till they turn slightly golden. Transfer to a plate.
Add grated papaya and begin to cook. It begins to release juice
Sprinkle rice flour, ½ tsp at one time and mix well to prevent lumps, repeat till u use up the entire flour. Cook till the juices almost evaporate. Rice flour is used to absorb the juices, else the cooking time will be more
Add sugar, cardamom powder and mix well. I powdered cardamom along with little sugar. Check the sweetness. If needed add more.
Cook string occasionally till the sugar blends well with the papaya. The sugar in the halwa should form to strings or rather turn sticky. This makes the halwa taste the best.