The ions present when sodium chloride dissolves in water are: sodium ions, chloride ions, hydrogen ions and hydroxide ions. There are various different ways of carrying out electrolysis.
The results of the study were recently published in the journal Science Advances under the title "Bichloride-Based Ionic Liquids for the Merged Storage, Processing, and Electrolysis of Hydrogen ...