In the figure below we have a simple way to do chroming, silvering or another type of electroplating using energy generated by solar cells. The solution used depends on the type of deposition, with several articles on the site that teach how to do this. The circuit is from an old documentation, but totally current, depending on the results of the cells used.