Preheat your oven to 350°F (175°C).
In a large bowl, combine all dry ingredients and mix well.
In a separate bowl, whisk together melted butter, eggs, vanilla, and molasses until smooth.
Add the wet mixture to the dry ingredients, along with shredded carrots and coconut, and mix until a thick batter forms.
Line a muffin tray with wrappers and lightly grease them. Use a muffin scoop to fill each cup evenly with batter.
Bake for 30-35 minutes, or until the tops are risen and a toothpick comes out clean. Check around 20-25 minutes as ovens may vary.
For the frosting, blend all ingredients in a bowl until smooth.
Allow cupcakes to cool on a wire rack for about 20 minutes before frosting.
Use a piping bag or a ziplock bag to frost the cupcakes in a circular motion.
Serve immediately or store in an airtight container in the fridge for up to a week. Enjoy your Keto Carrot Cupcakes!