In a large bowl cream the butter using a hand mixer. Mix on medium-low speed until creamy. Add in sugar and eggs, and beat until fluffy.
In your bowl, combine coconut oil, whole milk and potato flake sourdough starter. Using a hand mixer or stand mixer, mix on medium speed until combined. Scraping down the sides of the bowl to ensure all ingredients get incorporated. Slowly add in the all purpose flour and mix until you get a smooth, consistent batter.
Cover the mixture in the large bowl with plastic wrap. Set it on the counter at room temperature. Let it ferment for at least 8 hours, up to 24 hours if you want a stronger flavor.
After fermentation, preheat the oven to 350F while you finish preparing your batter.
You should see a few bubbles on the surface of your batter. Sift baking powder and salt over the batter. Mix until combined. Now add the vanilla extract. Doing this separately ensures that the baking powder doesn't clump up from the vanilla extract.
Grease and line 2, 8 inch cake pans with parchment paper or 18 cupcake pans with parchment cupcake liners for easy cleanup.
For cupcakes, use a ¼-cup scoop to fill each liner about two-thirds full. Bake in a 350°F preheated oven for 20 minutes. If making a layer cake, divide the batter between 2, 8 inch cake pans, bake for 26-31 minutes, and rotate pans halfway through for even baking. Both should bake until they’re golden brown, with a toothpick coming out mostly clean. Be sure to check at the earlier time to prevent over baking.
Once your cakes or cupcakes are baked, allow for them to cool first before topping with the butter cream.
While the cake is cooling, prepare the vanilla buttercream frosting. You can use any recipe that you like, but see post for the one I used. It calls for heavy cream, powdered sugar, vanilla and butter. I used my stand mixer to make the frosting.
I placed the butter cream in a Ziploc bag and cut a hole in the corner to pipe on top of the cupcakes.
Once the cake or cupcakes have cooled, pipe the frosting on top of the cupcakes and top with sprinkles or leave plain.