500g finely shredded onion
50g coarse ground chilli powder
5 whole cloves
5 black cardamoms
3in of cinnamon stick
2tsp tamarind pulp paste
50g flakes of dried Maldive fish
Mix all ingredients except the sugar.
Heat a little oil in a pan and cook mixture over a low heat for about 20 minutes until the onion is cooked.
Add the sugar and cook for a few minutes to dissolve.