It is used to make starfire weapons which provide 250 Mining XP per weapon. If you do not have enough ingredients to make a weapon when speaking to Ivar, he will take every piece of ore you have anyway, but give you 5 Mining or Smithing (depending on your choice) XP in return.

The maximum amount of Starlight ore that can be handed cashed in, is 20,000 in one day.