If your chainsaw model allows it, use a rim-style drive sprocket. Rim sprockets outperform spur sprockets in terms of ease of maintenance, adaptability, and affordability. Unless you have a very specialized use case, you will be happier with a rim drive sprocket, as will your chainsaw.