Add the butter to the chocolate and melt. Add the sugar slowly to the eggs, then add the flour mixed with the baking powder and salt, the nut meats, vanilla, and the chocolate mixture. Spread in a greased 8-inch square pan. Bake 25-30 minutes in a moderate (350 degrees F) oven. Cut while warm.