Electrolytes used in lithium-ion batteries are often liquid organic solvents which offer high ionic conductivity. Despite their effective performance, liquid electrolytes present flammability and leakage risks, which limit their applicability. Further, such electrolytes typically exhibit low lithium transference numbers (t Li + < 0.5), which leads to concentration polarization and, when employed with high-capacity lithium metal anodes, dendrite formation. Hence, there is significant interest in developing new electrolyte materials that simultaneously exhibit high conductivity, high t Li + and desirable safety characteristics.