Remove the skin and seeds from the pumpkin and cut it into cubes.
Steam the pumpkin for 15 minutes, then mash it.
Add almond flour, baking powder, and erythritol to the mashed pumpkin and mix well.
Add the egg and melted dark chocolate (melted in a double boiler or microwave) and mix into a batter.
Pour the batter into muffin molds or an oven pan.
Bake in a preheated oven at 180°C (356°F) for 20 minutes.