Geometry Node that can be applied to a curve to create chains with a lot of controls to get the desired results.
It comes with a simple Procedural material that can be controlled easily.
Note : if the Material performs slowly consider lowering the "Details" Slider in the shader.
Note : The shader isn't tested in EEVEE.