An electrochemical setup for chlorination of silver materials comprising: a regulated DC supply: an inlet and outlet of nitrogen or argon gas ambient: at least one silver material at the anode: an electrolyte: a platinum cathode which supplies electron to oxidize the silver materials to silver cations, the silver cation reacts with chloride in the electrolyte to produce silver chloride layer on top of silver material; and an inert chamber body, characterised in that the electrolyte contains a regenerative imidazolium chloride reagent which decomposes to form imidazolium cation and chloride ions, the imidazolium cation receives one electron and decomposes to neutral imidazole molecule and a stabilized organic radical, the organic radical recombines forming a volatile hydrocarbon by-product in the inert chamber body. a regulated DC supply: an inlet and outlet of nitrogen or argon gas ambient: at least one silver material at the anode: an electrolyte: a platinum cathode which supplies electron to oxidize the silver materials to silver cations, the silver cation reacts with chloride in the electrolyte to produce silver chloride layer on top of silver material; and an inert chamber body, characterised in that the electrolyte contains a regenerative imidazolium chloride reagent which decomposes to form imidazolium cation and chloride ions, the imidazolium cation receives one electron and decomposes to neutral imidazole molecule and a stabilized organic radical, the organic radical recombines forming a volatile hydrocarbon by-product in the inert chamber body. an inlet and outlet of nitrogen or argon gas ambient: at least one silver material at the anode: an electrolyte: a platinum cathode which supplies electron to oxidize the silver materials to silver cations, the silver cation reacts with chloride in the electrolyte to produce silver chloride layer on top of silver material; and an inert chamber body, characterised in that the electrolyte contains a regenerative imidazolium chloride reagent which decomposes to form imidazolium cation and chloride ions, the imidazolium cation receives one electron and decomposes to neutral imidazole molecule and a stabilized organic radical, the organic radical recombines forming a volatile hydrocarbon by-product in the inert chamber body. at least one silver material at the anode: an electrolyte: a platinum cathode which supplies electron to oxidize the silver materials to silver cations, the silver cation reacts with chloride in the electrolyte to produce silver chloride layer on top of silver material; and an inert chamber body, characterised in that the electrolyte contains a regenerative imidazolium chloride reagent which decomposes to form imidazolium cation and chloride ions, the imidazolium cation receives one electron and decomposes to neutral imidazole molecule and a stabilized organic radical, the organic radical recombines forming a volatile hydrocarbon by-product in the inert chamber body. an electrolyte: a platinum cathode which supplies electron to oxidize the silver materials to silver cations, the silver cation reacts with chloride in the electrolyte to produce silver chloride layer on top of silver material; and an inert chamber body, characterised in that the electrolyte contains a regenerative imidazolium chloride reagent which decomposes to form imidazolium cation and chloride ions, the imidazolium cation receives one electron and decomposes to neutral imidazole molecule and a stabilized organic radical, the organic radical recombines forming a volatile hydrocarbon by-product in the inert chamber body.