Researchers develop carbon-based electrodes that turn metal-laden wastewater into a clean source for green hydrogen production.