Fluorine is normally made by electrolysis . Hydrogen fluoride is dissolved in potassium fluoride .
Formed fluoride ions remain in solution , with soluted compound after electrolysis being potassium fluoride .