In-site encapsulating gold "nanowires" into hemin-coupled protein scaffolds through biomimetic assembly towards the nanocomposites with strong catalysis, electrocatalysis, and fluorescence properties.