Melt dark chocolate and butter together in a double boiler.
Add sugar and mix well.
Add eggs one at a time, stirring after each addition.
Sift cake flour and cocoa powder, then add to the mixture and blend.
Add walnuts or other nuts and mix evenly.
Line a baking pan with parchment paper, pour in the batter, and spread it flat.
Bake in a 180°C oven for 20–25 minutes.
Cool, then cut into desired sizes.