Preheat oven to 170 degrees. Keep a baking pan ready.
Cream the butter and sugars in a bowl. Add the egg and beat till combined.
Now add the vanilla extract and beat again.
Dissolve the baking soda in hot water. Pour into the mixture.
Add in the flour, salt, chocolate chips and walnuts and combine using a spatula till it is well mixed and the mixture holds on together.
Shape into cookies and keep on the pan with an inch space in between, as these cookies tend to expand.
Bake for around 12 minutes, till the sides are golden but cookie is still soft.
Cool in pan for five minutes, and then slowly transfer to rack to cool completely.
Notes
You can use upto 1 cup of chocolate chips and 1/2 cup of walnuts but I ran out of both, so had to use whatever was available. The cookies will harden as they cool, so do not overbake.