An electrolyte structure includes a metal organic framework (MOF) material defining a plurality of pores. Anions are bound to respective metal atoms of the MOF material. The bound anions are located within each of the plurality of pores of the MOF material. Solvated cations are present within each of the plurality of pores.