Preheat the oven to 180°C (356°F).
Cream together the butter and sugar.
Add the egg and mix well.
Add cake flour, baking powder, and salt, then mix until combined.
Add chocolate and nuts, then knead into a dough.
Shape the dough into balls and place them on a baking pan.
Bake in the oven for 12–15 minutes.