Preheat your oven to 180°C (350°F) and line a baking sheet with parchment paper.
In a heatproof bowl, melt the dark chocolate and butter together. You can do this by placing the bowl over a pot of simmering water (double boiler) or by using the microwave in 20-30 second increments, stirring in between, until the chocolate and butter are smooth and fully melted. Allow it to cool slightly.
In a separate bowl, whisk together the flour, cocoa powder, baking powder, and salt. Set this dry mixture aside.
In another bowl, beat the eggs, granulated sugar, and vanilla extract until the mixture is smooth and slightly pale in color.
Gently fold the melted chocolate mixture into the egg mixture until well combined.
Gradually add the dry mixture to the wet mixture, stirring until a soft, sticky dough forms. If desired, fold in the chocolate chips and chopped nuts.
Using a spoon or a cookie scoop, drop rounds of dough onto the prepared baking sheet, leaving some space between each cookie.
Bake in the preheated oven for about 12 minutes. The cookies should be set around the edges but still slightly soft in the center. Remember that they will continue to cook a bit as they cool.
Remove the cookies from the oven and allow them to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.Enjoy your delicious homemade chocolate fudge cookies!