Melt dark chocolate and butter together in a double boiler.
Add sugar and mix well.
Add eggs one at a time, whisking after each.
Sift cake flour and cocoa powder into the mixture and combine.
Add walnuts and finish the dough.
Pour the batter into a pan lined with parchment paper.
Bake in a preheated oven at 180°C (356°F) for 20 minutes.