Hi Deepthi,
I make my own fondant, and have tried many recipes in the past until I found Liz Marek’s Marshmallow Fondant recipe. Now it is the only one I ever use. So easy to make and use. No cracks, at all, always perfect. Here is the link to the recipe.
http://artisancakecompany.com/2012/11/the-best-marshmallow-fondant-recipe-ever/
Try it, you will love it too!!
Toni, Pennsylvania, https://www.facebook.com/WhiteCraftyCakes