In Situ Coupling Strategy for Anchoring Monodisperse Co9S8 Nanoparticles on S and N Dual-Doped Graphene as a Bifunctional Electrocatalyst for Rechargeable Zn–Air Battery

An effective in situ coupling strategy is proposed to construct Co9S8 nanoparticles/doped graphene. Cobalt porphyrin derivative is employed as both coupling and heteroatom-doped agents. The bifunctional oxygen electrocatalyst finds application in rechargeable all-solid-state Zn–air batteries. An effective in situ coupling strategy is proposed to construct Co9S8 nanoparticles/doped graphene. Cobalt porphyrin derivative is employed as both coupling and heteroatom-doped agents. The bifunctional oxygen electrocatalyst finds application in rechargeable all-solid-state Zn–air batteries. An in situ coupling strategy to prepare Co9S8/S and N dual-doped graphene composite (Co9S8/NSG) has been proposed. The key point of this strategy is the function-oriented design of organic compounds. Herein, cobalt porphyrin derivatives with sulfo groups are employed as not only the coupling agents to form and anchor Co9S8 on the graphene in situ, but also the heteroatom-doped agent to generate S and N dual-doped graphene. The tight coupling of multiple active sites endows the composite materials with fast electrochemical kinetics and excellent stability for both oxygen reduction reaction (ORR) and oxygen evolution reaction (OER). The obtained electrocatalyst exhibits better activity parameter (ΔE = 0.82 V) and smaller Tafel slope (47.7 mV dec−1 for ORR and 69.2 mV dec−1 for OER) than commercially available Pt/C and RuO2. Most importantly, as electrocatalyst for rechargeable Zn–air battery, Co9S8/NSG displays low charge–discharge voltage gap and outstanding long-term cycle stability over 138 h compared to Pt/C–RuO2. To further broaden its application scope, a homemade all-solid-state Zn–air battery is also prepared, which displays good charge–discharge performance and cycle performance. The function-oriented design of N4-metallomacrocycle derivatives might open new avenues to strategic construction of high-performance and long-life multifunctional electrocatalysts for wider electrochemical energy applications.


Introduction
Rechargeable Zn-air battery (ZAB), as one of the most promising power technologies, has attracted significant research interest due to its environment-friendliness, low cost, and high theoretical energy density [1][2][3][4]. However, the large voltage gap and poor cycle life have severely hindered its practical application [5]. Therefore, durable bifunctional electrocatalysts for oxygen reduction reaction (ORR) and oxygen evolution reaction (OER) are urgently required to accelerate the recharge rate and overall electrochemical reactions of ZAB [6,7]. To date, Pt-based materials have been considered state-of-the-art ORR catalysts, while Ir/Ru-based catalysts are considered efficient for OER [8]. However, the prohibitive cost, poor durability, and single function for ORR or OER of these precious-metal-based catalysts are major foundational barriers [4]. An ideal solution to the bottleneck problem is to replace commercial Pt-and Ir/Rubased catalysts with the highly efficient and durable bifunctional electrocatalysts based on naturally abundant elements [9]. Currently, transition metal sulfides (TMSs) [10,11], especially Co 9 S 8 [12,13], have gained considerable attention due to their nature abundance, environment-friendliness, good durability, and high catalytic activity for both ORR and OER. Unfortunately, their low electronic conductivity has degraded their practical performance. Therefore, it is necessary to employ a highly conductive carbon matrix to anchor the rationally designed TMS nanoparticles.
To this end, graphene has been recognized as an effective matrix due to its high conductivity, chemical stability, and extraordinary specific surface area [14,15]. Further, doping graphene with heteroatoms (such as N and S) can improve conductivity and provide additional electrocatalytic active sites [16][17][18]. Therefore, the incorporation of nanostructured TMSs into doped graphene has been intensively studied [12,13]. However, simple incorporation may result in aggregation of the nanoparticles, thereby hampering exposure of active sites and leading to low catalytic activities. Furthermore, the weak anchors between nanoparticles and graphene cause nanoparticle leaching, resulting in poor durability. Therefore, incorporating N 4 -metallomacrocycles into carbon matrix seems to be a promising approach. On the one hand, the N 4 -metallomacrocycles can act as the coupling agent to anchor nanoparticles [19], thus accomplishing in situ anchoring of small and homogeneously distributed nanoparticles. On the other hand, the tunable structure of N 4 -metallomacrocycles with various heteroatom-containing functional groups endows them with additional functions. These functional groups can be employed as interfacial linkers to link graphene or graphene oxide via aromatic π-π interactions and reciprocal electrostatic interactions [20], thus realizing heteroatom-doped graphene. Moreover, it is universally accepted that heat-treated N 4 -metallomacrocycles can display high catalytic activity and chemical stability, with Me-N 4 acting as the catalytic centers for ORR [21]. However, direct synthesis of TMSs through this strategy remains challenging because their synthesis needs additional sulfuration reactions with sulfur or S-containing compounds, which in turn suffer from the shortcomings of using toxic precursors, sophisticated process, and/or the release of poisonous gases. Therefore, it is highly desirable to achieve the function-oriented design of N 4 -metallomacrocycles with S-containing functional groups, which could couple and anchor TMSs nanoparticles on doped graphene in situ as a high-performance bifunctional electrocatalyst for ORR and OER, even ZAB.
In this paper, for the first time, we report a functionoriented design of N 4 -metallomacrocycle derivatives to synthesize Co 9 S 8 /S and N dual-doped graphene composite (Co 9 S 8 /NSG). As a proof-of-concept demonstration, we used cobalt(II) 5,10,15,20-tetra-(4-sulfonatophenyl) porphyrin (TSPPCo) as not only the coupling agent to form and anchor Co 9 S 8 on the graphene in situ, but also the heteroatom-doped agent to form S and N dual-doped graphene in situ. Benefiting from the function-oriented design and unique structure, the Co 9 S 8 /NSG exhibits high catalytic activity and outstanding stability for ORR and OER. To investigate its practical applications, a homemade all-solid-state ZAB is built based on our bifunctional electrocatalysts, which displays high performance and excellent long cycle life.

Electrochemical Measurements
All the electrochemical measurements of the electrocatalysts for ORR/OER were taken on a CS350 electrochemical workstation in the corresponding electrolytic solution using a standard three-electrode cell, in which a rotating disk electrode of diameter 5.0 mm (RDE, Pine Research Instrument, USA) served as the working electrode, Pt-foil as the counter electrode, and saturated calomel electrode (SCE) as the reference electrode.
To evaluate the ORR and OER performances, cyclic voltammetry (CV) was performed in N 2 -or O 2 -saturated solution with a scan rate of 50 mV s −1 . Linear sweep voltammetry (LSV) measurements for ORR were taken at different speeds from 400 to 1600 rpm in an O 2 -saturated solution with a sweep rate of 10 mV s −1 without using iR-correction. LSV measurements for OER were also taken using the same three-electrode cell in O 2 -saturated 1 M KOH solution with a scan rate of 5 mV s −1 with iR-correction. Before all the electrochemical characterizations, the continuous sweep of the corresponding voltage range was measured until a steady voltammogram curve was obtained.
The durability tests of the ORR/OER electrocatalysts were both performed using chronoamperometric (i − t) measurement in O 2 -saturated corresponding solutions at a rotation rate of 1600 rpm, while 10 vol% methanol was added for demonstrating methanol tolerance during ORR.

Zn-Air Battery Assembly and Measurements
The air-electrode used for ZAB was composed of carbon paper as the catalyst-loaded layer (1 mg cm −2 ) facing the water side and the gas diffusion layer facing the air side. A zinc plate was used as the anode, while 6 M KOH containing 0.2 M Zn(Ac) 2 was used as the electrolyte for ZAB. The effective area of the catalyst-loaded layer and zinc plate is controlled to 1 cm 2 .
The homemade all-solid-state ZAB was also fabricated using zinc foil as anode and the catalyst-loaded carbon paper as the air-electrode; however, a solid polymer electrolyte is used as a separator for the battery. The solid polymer electrolyte was prepared by the following steps. First, polyvinyl alcohol powder (4.5 g) was dissolved in 0.1 M KOH (40 mL) containing 0.02 M Zn(Ac) 2 and then stirred at 90 °C for 2 h. The solution was then poured into a culture dish and dried at 55 °C to form a solid polymer film.
All the electrochemical tests of ZAB were conducted on the CS350 electrochemical workstation in ambient air. The galvanodynamic charge-discharge profiles were obtained via LSV (5 mV s −1 ). The cycling curves were obtained using 400 s for each cycle. Figure 1 schematically illustrates the fabrication process of Co 9 S 8 /NSG. First, TSPP molecules were synthesized by sulfonating TPP. (The purity and identity of TPP and TSPP were verified by 1 H NMR spectroscopy, as shown in Figs. S1 and S2.) After that, the TSPPCo molecules were synthesized by coordinating TSPP molecules with Co 2+ ions, which were subsequently mixed with the GO solution. Herein, on the one hand, the sulfonic groups could endow water solubility of TSPPCo to make the mixture with GO solution more uniform, enabling the anchoring of TSPPCo molecules on the surface of the GO sheets via π-π interactions. On the other hand, the axially covalent connection of TSPPCo with graphene would prevent TSPPCo molecules from deformation and aggregation during the subsequent calcination [22]. Finally, carbonization was applied to obtain Co 9 S 8 /NSG. It is necessary to point out that TSPPCo acts as the single source of active sites (N, S, Co-N-C, and Co 9 S 8 ) and plays the dual role of heteroatom-doped source and coupling agent. It could not only obtain the multi-heteroatom-doped graphene, but also generate the Co 9 S 8 by in situ coupling.

Results and Discussion
UV-Vis absorption spectroscopy was used to confirm the synthesis of TSPPCo/GO (Figs. 2a and S3). The TSPP solution exhibited five peaks, corresponding to the intense Soret band at 412 nm and four weak Q-bands at 515, 551, 581, and 633 nm [23]. After coordination with Co 2+ , the TSPPCo solution exhibited a characteristic absorption peak centered at 426 nm from the intense Soret band and a weak peak at 539 nm from the Q-bands. Thus, not only a redshift of the Soret band could be discerned, but also the number of Q-bands was reduced, which may be ascribed to the increasing symmetry of the molecules when the metal ion coordinates with the N atoms [24]. Both the Q-band and the Soret bands showed redshift after anchoring the TSPPCo on GO, indicating successful formation of TSPPCo and GO composite [25]. As shown in the FTIR spectra, the distinct characteristic peaks of N-H at ~ 3316 and ~ 967 cm −1 [26], those of aromatic rings at ~ 1399 and ~ 1193 cm −1 , and those of −SO 3 at ~ 1039 and ~ 637 cm −1 indicate the successful synthesis of TSPP (Fig. S4a). In addition, no peaks corresponding to N-H could be observed for TSPPCo, which confirms the successful incorporation of metal into TSPP. For TSPPCo/GO, both the distinct characteristic peaks of TSPPCo and the GO peaks of C-O at ~ 1174 cm −1 and C=C at ~ 1582 cm −1 were observed (Fig. S4b). After carbonization, no peaks corresponding to TSPPCo were observed for Co 9 S 8 /NSG-700, confirming the decomposition of TSP-PCo during carbonization. The XRD patterns of TSPPCo/ GO (Fig. 2b) showed broad diffraction peaks at ~ 24.0° and 43.3°, which could be related to the (002) and (101) diffractions of disordered carbon [27]. After carbonization, Co 9 S 8 / NSG-700 and Co 9 S 8 /NSG-600 exhibited not only the peaks of disordered carbon, but also the intense diffraction peaks of Co 9 S 8 (JCPDS card no. 65-6801). According to Scherrer formula, the average diameter of Co 9 S 8 was around 15 nm. Co 9 S 8 /NSG-800 displayed well-defined diffraction peaks of crystalline Co, demonstrating the difficulty of forming Co 9 S 8 at calcination temperatures above 700 °C using this strategy.
For the Co 9 S 8 /C-700 sample, only the peaks of Co 9 S 8 could be observed, suggesting that single TSPPCo could also form Co 9 S 8 . Besides, no diffraction peak of Co 9 S 8 could be detected in NSG-700, suggesting that Co 9 S 8 was completely removed. As shown in the Raman spectra (Fig. 2c), the ratio of I D /I G of Co 9 S 8 /NSG-600 (1.12) was higher than those of Co 9 S 8 /NSG-700 (1.09) and Co 9 S 8 /NSG-800 (1.07), indicating that the degree of disordered structure decreased with increasing carbonization temperature [28,29]. In addition, the intensity of the D band is lower than that of the G band, manifesting that Co 9 S 8 /NSG was partially graphitized. Moreover, the N 2 adsorption-desorption isotherms and the pore size distribution of Co 9 S 8 /NSG-700 (Fig. 2d) show that Co 9 S 8 /NSG-700 has a significant specific surface area (SSA) of 266.8 m 2 g −1 and pore sizes ranging from 1 to 8 nm. On the other hand, the SSAs of Co 9 S 8 /NSG-600 (248.0 m 2 g −1 ) and Co 9 S 8 /NSG-800 (281.2 m 2 g −1 ) were similar to that of Co 9 S 8 /NSG-700, while that of NSG-700 (237.4 m 2 g −1 ) was lower than that of Co 9 S 8 /NSG-700 (Fig. S5). Thermogravimetry was carried out to evaluate the percentage of Co 9 S 8 in the composite, from which the weight percentage of Co 9 S 8 was calculated to be 36% (Fig. S6).
Subsequently, scanning and transmission electron microscopy (SEM and TEM, respectively) images were obtained to observe the morphology of Co 9 S 8 /NSG, which showed two-dimensional (2D) thin graphene sheets (Figs. 3a-b and S7). In contrast, Co 9 S 8 /C-700 showed aggregation instead of the 2D GO nanosheets (Fig. S8), which confirms the important role of the GO matrix. Further information about the Co 9 S 8 /NSG-700, obtained from TEM images (Fig. 3c), demonstrates that Co 9 S 8 nanocrystals were homogeneously monodispersed on GO sheets without aggregation. The average diameter of Co 9 S 8 was calculated to be ~ 15 nm from the particle size distribution obtained from the TEM image ( Fig. S9), in accordance with the result obtained from XRD analysis. The HRTEM image showed that the lattice fringe with a distance of 0.28 nm was related to the (222) crystal face of Co 9 S 8 (Fig. 3d). More detailed information was obtained from the TEM image and from elemental mapping. Figure 3e shows the homogeneous dispersion of C, N, Co, and S, demonstrating the homogeneous dispersion of Co 9 S 8 on the surface of the S and N dual-doped graphene matrix.
X-ray photoelectron spectroscopy (XPS) was performed to obtain more information about Co 9 S 8 /NSG. Figure 4a shows the presence of S, C, N, O, and Co in various samples. The spectra of N 1 s (Fig. 4b) are resolved into five peaks that can be related to pyridinic-N (397.2 eV), Co-N (399.4 eV), pyrrolic-N (400 eV), graphitic-N (401 eV), and oxidized-N (402.7 eV) [30][31][32]. Pyridinic-N accounted for most of the doped nitrogen atoms, which could improve the onset potential for ORR [33]. The high-resolution Co 2p XPS spectra (Fig. 4c) show that the peak at 783.4 eV is related to Co-S, the peak at 779.1 eV is assigned to Co-N, the peak at 781.5 eV is related to Co 2p 3/2 , and the peaks at 794 and 802.9 eV correspond to Co 2p 1/2 [34][35][36][37]. The appearance of Co 2p 1/2 and Co 2p 3/2 may be due to the surface oxidation of metallic Co in air, which would promote the rate of OER [38]. Besides these, Co 9 S 8 /NSG-800 exhibited peaks at 795.9, 781.4, and 776.6 eV, corresponding to Co (0). In the S 2p XPS spectra (Fig. 4d), there are five peaks centered at 162, 162.5, 163.7, 166.8, and 168.15 eV, corresponding to Co-S, S 2p 1/2 , S 2p 3/2 , C=S, and S-O, respectively [27,39,40]. It is well known that the sulfur species could induce the redistribution of "electron spin" [41]; therefore, the presence of sulfur in the Co 9 S 8 /NSG-700 would contribute to the electrocatalytic activity. It is also worth mentioning that Co 9 S 8 / NSG-700 contained the highest total content of Co-N and pyridinic-N, which may endow it with good ORR activity. Based on the unique structure and composition mentioned above, the ORR activity of the as-obtained Co 9 S 8 / NSGs was investigated. Comparison of the LSV curves of the different samples (Fig. S10) revealed that carbonization temperature and Co 9 S 8 content are both critical parameters for ORR activity. Co 9 S 8 /NSG-700 showed the best ORR activity in terms of onset potential (E O ) and/or current density (J L ) by optimizing the carbonization temperature (600, 700, or 800 °C) and the loading content of TSPPCo (0.05, 0.1 or 0.15 g). The CV curves of Co 9 S 8 / NSG exhibited no cathodic peak in N 2 -saturated solution, while a pronounced cathodic peak at 0.74 V was observed in O 2 -saturated solution (Fig. 5a). As shown in Fig. 5b, the Co 9 S 8 /NSG-700 exhibited E O of 0.92 V, comparable to that of commercial Pt/C (0.94 V), good half-wave potential (E 1/2 ) of 0.79 V, and limited J L of 4.59 mA cm −2 . In contrast, the NSG exhibited lower E O (0.90 V) and J L (3.6 mA cm −2 ), which could prove that in situ coupling and anchoring of Co 9 S 8 in S and N dual-doped graphene could enhance ORR activity. Moreover, Co 9 S 8 /C-700 showed significantly poor E O (0.88 V) and limited J L (1.97 mA cm −2 ) compared with that of Co 9 S 8 /NSG-700, probably due to the absence of the graphene matrix. On the one hand, the S and N dualdoped graphene could not only improve conductivity, but also provide additional active sites. On the other hand, the Co 9 S 8 molecules could be anchored on the graphene in situ, which suppressed the aggregation of Co 9 S 8 nanocrystals, thus improving ORR activity. The ORR polarization curves of Co 9 S 8 /NSG were recorded at different rotating speeds (Fig. 5c), indicating that J L increased gradually with increasing rotating speed due to the shorter diffusion distance of oxygen at higher speeds. Moreover, the Koutecky-Levich (K-L) plots of Co 9 S 8 /NSG-700 exhibited excellent linearity and parallelism (Fig. 5d), revealing first-order reaction kinetics [42]. The electron transfer number was calculated to be 3.8-4.0, revealing a four-electron transfer pathway [43]. Co 9 S 8 /NSG-600 and Co 9 S 8 /NSG-800 also showed similar LSV curves, corresponding K-L plots, and electron transfer numbers (Fig. S11). Moreover, the significant ORR performance of Co 9 S 8 /NSG-700 was also confirmed by the smaller Tafel slope (47.7 mV dec −1 ), compared with that of Pt/C (64.5 mV dec −1 ) and other obtained materials (Fig. 5e).  Fig. 4 a XPS survey, and high-resolution XPS spectra of b N 1 s, c Co 2p, and d S 2p of Co 9 S 8 /NSG-600, Co 9 S 8 /NSG-700, and Co 9 S 8 /NSG-800 Besides ORR activity, the stability of the Co 9 S 8 /NSG-700 was essential for practical applications. The durability test was performed using i − t chronoamperometric response. As shown in Fig. 5f, 95% of the initial current was retained for Co 9 S 8 /NSG-700 after 12,000 s, while only 82% was retained for Pt/C. Along with ORR, OER is important for various renewable power technologies [44], especially ZAB [3]. To this end, the OER catalytic activity of Co 9 S 8 /NSG-700 was explored. As shown in Fig. 6a, Co 9 S 8 /NSG-700 displays a potential of 1.61 V to achieve 10 mA cm −2 , which is 50 mV higher than that for RuO 2 but 160 mV lower than that for Pt/C. Co 9 S 8 /NSG-700 exhibits a much smaller Tafel slope of 69.2 mV dec −1 than those of RuO 2 (77.2 mV dec −1 ) and Pt/C (159.5 mV dec −1 ), indicating the faster kinetic process (Fig. 6b). In addition, the durability tests were performed using i − t chronoamperometric technique for 13.5 h (Fig. 6c). Approximately 88% of the initial current was retained for Co 9 S 8 /NSG-700, while only ~ 67% was retained for RuO 2 after 12,000 s. Moreover, the LSV curves only display a decay of 8 mV after a 2000-cycle CV scan (Fig.  S12), revealing the superior stability of Co 9 S 8 /NSG-700 for OER. The structure and chemical constitution of Co 9 S 8 / NSG-700 were also investigated after the OER test. SEM images show that 2D graphene sheets were retained after OER (Fig. S13a), and TEM images show that the nanocrystals remained homogeneously monodispersed on the surface of the GO sheets without any obvious change (Fig. S13b). XPS analysis was also performed after OER test (Fig. S14). The types of N in the high-resolution N 1s XPS spectra were found to be the same as those of the catalyst before the test (Fig. S14a). Interestingly, the detailed scan of Co 2p showed the presence of CoOOH (781.7 and 789.9 eV) and cobalt oxides (785.5, 796.17, 798.73, and 803.02 eV) (Fig. S14b) [39,45]. In the S 2p XPS spectra (Fig. S14c), there were two peaks centered at 164.0 and 165.3 eV corresponding to S=C, while two peaks at 168.4 and 169.6 eV corresponded to S-O [45]. Further, comparison of the contents of elemental C, O, N, S, and Co in the Co 9 S 8 /NSG-700 before and after OER test (Table S1) revealed that C, N, S, and Co contents in Co 9 S 8 /NSG-700 exhibit almost no fluctuation and the O content increases, probably due to the formation of cobalt oxides and CoOOH. Furthermore, the LSV curves of Co 9 S 8 /NSG-700, RuO 2 , and Pt/C were combined to evaluate the ORR/OER bifunctional properties (Fig. 6d). The bifunctional properties could be judged by the variance in OER/ORR potential (ΔE = E j = 10 − E 1/2 ; E j = 10 is the OER potential required to achieve 10 mA cm −2 , while E 1/2 is the half-wave potential of ORR). Obviously, the lower ΔE value indicated better bifunctional activity. It should be  (Table S2). It is worth mentioning that the outstanding electrochemical performance and stability of Co 9 S 8 /NSG-700 could be attributed to the unique characteristics, which could be elaborated as follows. On the one hand, the graphene matrix composed of nanosheets can provide large surface area, thus increasing the exposure and adsorption at more active sites on the catalyst surface. Moreover, the S and N dual-doped graphene can endow the catalyst with high conductivity and additional electrocatalytic active sites. On the other hand, the abundant active sites, including N, S, Co-N, and Co 9 S 8 , derived from the TSPPCo precursor, could promote the ORR/OER activity, and the strong binding interaction derived from the in situ coupling and anchoring of Co 9 S 8 on the graphene could prevent the leaching and aggregation of the Co 9 S 8 nanoparticles. As a result, benefitting from the advantageous properties of large surface area, high conductivity, and tight coupling, Co 9 S 8 /NSG displayed high ORR/ OER activity and good stability. Inspired by the outstanding ORR/OER performance and stability, ZAB was built using Co 9 S 8 /NSG-700 (1 mg cm −2 ) as the air-cathode catalyst and zinc plate as the anode (Fig. 7a). ZAB using Pt/C-RuO 2 (1:1) as the air-cathode catalyst was also constructed for comparison. The assembled battery using Co 9 S 8 /NSG-700 showed an open-circuit voltage of ~ 1.42 V (Fig. 7b), higher than that for Pt/C-RuO 2 (1.40 V) (Fig. S15). The galvanodynamic charge-discharge profiles for ZAB (Fig. 7c) revealed that ZAB using Co 9 S 8 /NSG-700 had higher maximal current density (274 mA cm −2 ) than that using Pt/C-RuO 2 (214 mA cm −2 ). Moreover, the maximal peak power density of the battery using Co 9 S 8 /NSG-700 was calculated to be 72.14 mW cm −2 , comparable to that of the battery using Pt/C-RuO 2 (74.3 mW cm −2 ) (Fig. 7d). Furthermore, the assembled battery displayed a low charge-discharge voltage gap of 0.86 V with no voltage change observed in the galvanostatic charge-discharge cycling curves of Co 9 S 8 / NSG-700 after cycling for 138 h at 10 mA cm −2 (Fig. 7e). In comparison, Pt/C-RuO 2 displayed lower charge voltage and higher discharge voltage with a significant deterioration after cycling for 26 h, indicating the outstanding durability of Co 9 S 8 /NSG-700. Interestingly, only three such assembled batteries can operate a light-emitting diode (LED) bike lamp over 12 h (Fig. 7f), which is a more direct and easier verification of the excellent robustness of the battery. Interestingly, the performance of the ZAB using Co 9 S 8 /NSG-700 as catalyst was comparable with reported results (Table S3). To further broaden the practical applicability and prospects of Co 9 S 8 /NSG-700, a homemade all-solid-state ZAB with a small size of 2 × 3 cm 2 was integrated (Fig. 8a). Surprisingly, the assembled battery displayed an open-circuit voltage as high as 1.26 V (Fig. 8b), a maximal current density of 140 mA cm −2 , and a peak power density of 36.2 mW cm −2 (Fig. 8c). Furthermore, when cycled at 2 mA cm −2 , the all-solid-state battery produced a low initial charge-discharge voltage gap of 0.75 V (charge potential of 1.93 V and discharge potential of 1.20 V), without any prominent changes after 9000 s. Interestingly, only two miniature batteries were needed to light a high-voltage LED, which operates at a minimum voltage of 2.0 V. (Fig. 8d).

Conclusions
In summary, the novel and effective strategy of using N 4 -metallomacrocycles, with S-containing functional groups, as both the single-source precursor and the coupling agent, is applied to the in situ formation and anchoring of Co 9 S 8 nanocrystals on the doped graphene. It is worth mentioning that Co 9 S 8 can be synthesized via this strategy without using additional sulfur or S-containing compounds, thus avoiding the requirement of toxic precursors, sophisticated process, and/or the release of poisonous gases. More importantly, owing to the enhanced conductivity of the S and N dual-doped graphene, the ultrafine Co 9 S 8 nanocrystals, and in situ coupling interaction, the as-obtained Co 9 S 8 /NSG-700 displayed significant catalytic activity and stability for ORR/ OER. Furthermore, as the air-electrode catalyst for ZAB, even all-solid-state ZAB, Co 9 S 8 /NSG-700 exhibited good performance and good stability. Therefore, we believe that the function-oriented design of N 4 -metallomacrocycles, with S-containing functional groups, is versatile and effective for the synthesis of other electrocatalysts for wider practical applications.