Preheat the oven to 350ºF. Line an 8"x8" pan with parchment paper, or butter and flour the pan.
In a medium bowl, whisk the flour, salt, and baking powder, and set aside.
Over a double boiler or bain marie, melt the chocolate and butter until smooth and consolidated. Remove from heat.
Stir in the vanilla, rosewater, and coconut sugar. Whisk in the eggs, one by one, incorporating fully after each.
Switch to a silicone spatula, and fold in the flour mixture a little at a time, just until fully combined.
Pour batter into prepared pan, and bake for 18-21 minutes, or until a toothpick inserted into the center comes out with just a few crumbs. Let cool completely.