Question: what are vortex cubes used for?
Answer: Vortex Cubes, first and foremost, don't really have any particular purpose in No Man's Sky. Sure, they can be used for crafting particular items such as the Beam Impact Theta weapon upgrade for your ship's Phase Beam, but they're also incredibly lucrative to simply sell to the highest bidder.