Potentiostatic regime of eletrolysis -- Electrodeposition of metals with hydrogen