Melt the chocolate and butter using a double boiler.
Add sugar and eggs, and mix well.
Sift the flour and cocoa powder, then add them to the batter and mix.
Add nuts.
Pour the batter into the pan and spread evenly.
Bake in a preheated oven at 180°C for 20 minutes.
Let it cool, then cut into pieces of desired size.