Preheat oven to 375°F and line baking sheets with parchment paper.
In a bowl, whisk together flour, baking soda, and salt; set aside.
In a large mixing bowl, beat softened butter, granulated sugar, brown sugar, and vanilla until creamy.
Add eggs one at a time, beating well after each addition.
Gradually add flour mixture to the wet ingredients, mixing until just combined.
Fold in chocolate chips and chopped nuts (if using).
Cover and chill the dough for at least 30 minutes.
Scoop rounded tablespoonfuls of dough onto baking sheets, spaced 2 inches apart.
Bake for 9-11 minutes or until edges are golden brown.
Cool on baking sheets for 2 minutes, then transfer to wire racks to cool completely.