Materials with a core–shell structure have received considerable attention owing to their interesting properties for their application in supercapacitors, Li-ion batteries, hydrogen storage and other electrochemical energy storage systems.