Place the butter in a pan over medium heat and cook while stirring until it turns golden brown and smells nutty. This should take around 5–6 minutes. It will go through several stages: melting, boiling, and finally foaming. Remove from heat and pour into a large mixing bowl to cool slightly.