 Solar-driven H202 production presents a renewable approach to chemical synthesis. Here, authors perform a mechanistic analysis on the contribution of the sodium cyanaminate moiety to the two electron-oxygen-reduction-reaction performance of polymeric carbon nitride frameworks. This article was authored by Yu Baojiao, Peng Zhong, Jin Chunyang, and others.