2Pour the melted butter into a bowl and let it cool.
3In a separate bowl, mix together 340 grams of all-purpose flour, 1 teaspoon of baking powder, 1 teaspoon of baking soda, and ¾ teaspoon of salt.
4In another bowl, combine 200 grams of light brown sugar, 133 grams of granulated sugar, 2 egg yolks, 1 ½ teaspoons of vanilla extract, and 140 grams of sourdough discard.
5Add the cooled melted butter to the wet ingredients and stir.
6Add the dry ingredients to the wet ingredients and mix.
7Add chocolate chips.
8Chill the dough for at least an hour.
9Preheat your oven to 350°F (175°C).
10Bake for 10-12 minutes, taking the cookies out while they still look a little bit raw in the middle.