Zwitterionic wormlike micelles with AuCl4(-) counterions were fabricated for the first time as the soft templates for colloidal synthesis of gold nanowire networks; gold-based alloy nanowire networks were also achieved using mixed wormlike micelles as soft templates.