The key to melting the chocolate without scorching it is to place it on top of the other ingredients. If you pre-mixed all your ingredients, the chocolate got too hot.