Using the non-equilibrium Green's function method combined with density function theory, we investigate the spin transport for carbon chains connected to electrodes of different materials. When a carbon chain is linked to the C-H (C-H2) bonded edges of H2-ZGNR-H, the carbon chain displays a net spin polarization with a net magnetic moment of 1.367 μB (-0.935 μB) for the C-H (C-H2) bonded edge contacts, but the directions of the net magnetic moment are opposite, and the latter system shows a larger spin conductance. Then, we choose N-doped H2-ZGNR-H as the left electrode, and the right el...