Preheat the oven to 350 degrees F and grease and line an 9 x 5 inch loaf pan with a parchment paper sling for easy removal. Set aside. In a bowl of a stand mixer with a paddle attachment, cream room-temperature butter and sugar on medium speed until light and fluffy, about 2-3 minutes. This can also be done with a hand mixer. 113 grams unsalted butter, softened, 200 grams sugar
Once combined, add the eggs to the mixture, one at a time. Continue to beat on medium speed until it is light, fluffy, and pale yellow in color. Stop to scrape the sides of the bowl when necessary.
2 eggs
In a separate bowl, add the flour, baking soda, and salt and whisk until combined. Set aside.
230 grams all-purpose flour, 6 grams baking soda, 3 grams salt
While mixing on stir/low, alternate adding the dry ingredients and sourdough discard to the egg mixture. Occasionally stop mixing to scrape the sides of the bowl. Mix until there are just a few streaks of flour left.
100 grams sourdough discard
Lastly, add the mashed banana and vanilla extract to the batter. Mix on low until just combined.
275 grams overripe bananas, mashed, 4 grams vanilla extract
If adding mix-ins, gently fold into the batter using a rubber spatula.
65 grams chopped walnuts, optional
Add the batter to the prepared loaf pan. Sprinkle with additional chopped nuts or chocolate chips on top, if desired. Bake for 55-65 minutes or until a toothpick comes out clean or with a few moist crumbs. Begin to check at 55 minutes.
Remove from the oven and cool in the pan for 30 minutes before placing on a wire rack to cool completely. For easiest slicing, wait at least an hour. Enjoy!