For the pastry
For the filling
First make the pastry dough. Rub the flour, salt and lard together with your fingertips until the mixture resembles breadcrumbs then make a well in the centre. Whisk together the water, egg, egg white and vinegar. Pour into the well and gradually mix together with a fork. Turn the dough out onto a lightly floured surface and knead gently until smooth. Wrap in clingfilm and set aside to rest at room temperature for 30 minutes.
Meanwhile make the filling. Combine the chicken thighs, garlic and lime juice in a bowl, cover in clingfilm and set aside to marinate for 15 minutes. Heat a splash of olive oil in a large, heavy-based pan and add the onions. Fry for 5 minutes until soft, then add the chicken pieces and fry for 2 to 3 minutes. Add the spring onions, chilli, ginger and turmeric and fry for a further 2 minutes until fragrant. Add the dried shrimps, peanuts and tomato purée, fry for a minute then add the chicken stock. Bring to the boil then simmer for 20 minutes until then chicken is tender. Add the creamed coconut and cook for a further 2 to 3 minutes until thickened. Remove from the heat, stir through the coriander and leave to cool.
Grease two 8 holes muffin tins with a little lard. Pinch off a small ball of pastry and press into the bottom of the tin to form a base. Repeat to make 16 bases then divide the cooled chicken mixture between them. Pinch off a piece of the remaining dough, flatten into a rough circle and press on top of the filling to form a lid. Use a round pastry cutter to trim the edges then repeat with the remaining pastry.
Whisk together the egg yolks and oil and glaze the tops of the pies. Transfer to the fridge to rest for 30 minutes before baking. Preheat the oven to 190°C. Glaze the pies with a little more of the egg yolk and oil mixture then bake for 20 to 25 minutes until golden brown. Transfer to a wire rack to cool slightly before serving.