To the sugar, add the molasses and water. Boil until it hardens when dropped in cold water. Just before taking from the fire add the butter and the peanuts and mix well. Pour onto well-buttered tins.