Electrolytic gold plating, stripping, and ion transport dynamics through a solid-state iodide perovskite