Help! Melting negative wire

Wire gauge chart. For your 30-amp system use 10 gauge minimum, 8 gauge is better. That’s assuming that the wire length is less than 10 ft.