In the top of a double boiler, melt chocolate and butter over medium-low heat, stirring occasionally, until smooth and combined. Remove from heat. Whisk in confectioners’ sugar, cocoa, and salt until smooth. Let cool to room temperature before using.