Add the butter, heavy cream, and dark chocolate to a saucepan over medium heat. Stir until the chocolate is melted. Remove the pan from the heat.
Sift the cocoa powder into the mixture and whisk until well combined.
Add the powdered sugar and salt to the mixture and whisk until well combined.
Return the pan to the stove over medium-high heat, stirring constantly until the mixture is smooth.
Pour the mixture into a large bowl or pan to speed up the cooling process.
Place a sheet of plastic wrap directly on the chocolate mixture. It needs to be touching to prevent a skin from forming.
Let the frosting cool for 30 minutes at room temperature, then place it in the refrigerator to chill for 2 hours, or until its thickened.
Remove the frosting from the refrigerator and using an electric mixer, whip the frosting until it's spreadable.
Place one of the layers on a cake platter and add ⅓ of the frosting to the top of the layer and spread it evenly with a spatula.
Place the second layer on top of the frosted layer, and use the remainder of the frosting to frost the top and sides of the cake evenly.