What electrode material can I use for electrical discharge machining?
The deciding factors for choice of electrode material for an electrical discharge machine (EDM -  also known as a spark erosion machine) would be its conductivity and erosion resistance.
Copper and graphite are the most preferred materials.
One wouldn't come across lead or solder for this application and their wear resistance wouldn't be known unless trials are carried out.