One-pot solvothermal synthesis of three-dimensional hollow PtCu alloyed dodecahedron nanoframes with excellent electrocatalytic performances for hydrogen evolution and oxygen reduction.