Melt dark chocolate and butter together over a double boiler.
Add sugar to the melted chocolate and mix well.
Add eggs one at a time, mixing thoroughly after each addition.
Sift in flour, cocoa powder, and salt, then mix until combined.
Optionally, add walnuts or other nuts.
Pour the batter into a baking pan lined with parchment paper.
Bake in a preheated oven at 180°C for 25 minutes.
Let it cool, then cut into desired sizes.