Melt butter in a saute pan over medium-low heat. Add chestnuts and toss to coat well. Season with salt and saute until dark golden brown on both sides. Sprinkle in the rosemary, remove from heat, let cool. Chestnuts can be stored in an air tight container in the refrigerator for up to 2 weeks.