Polypyrrole can be dissolved in organic polar solvents such as DMF (dimethylformamide), NMP (N-methyl-2-pyrrolidone), DMSO (dimethyl sulfoxide) and m-cresol (EP0804497B1 - Soluble, electroconductive polypyrrole and....). However, organic solvents can destroy the Ag/AgCl chloride electrode (Which solvent should we use...). I hope this helps!
Source:
(1) Which solvent should we use to solubilise the polypyrrole?. https://www.researchgate.net/post/Which_solvent_should_we_use_to_solubilise_the_polypyrrole2.
(2) Solvent effects on the characteristics of soluble polypyrrole. https://www.sciencedirect.com/science/article/pii/S0379677999002672.
(3) Doped polypyrrole with good solubility and film forming properties .... https://www.sciencedirect.com/science/article/pii/S2214785318316456.
(4) EP0804497B1 - Soluble, electroconductive polypyrrole and method for .... https://patents.google.com/patent/EP0804497B1/en.
PPy would be insoluble in both organic and inorganic solvents. To process polypyrrole, alternative methods are used instead of dissolution. For example, you can disperse it in solvents as a colloidal suspension, or you can electropolymerize it directly onto a substrate. Regarding the concern about the Ag/AgCl electrode, it is true that organic solvents can damage this type of electrode. In this case, you can either work with aqueous electrolytes or use an alternative electrode that is compatible with organic solvents, such as a platinum or gold electrode.
Polypyrrole is insoluble in most common organic solvents such as water, ethanol and acetone due to its compact polymer structure and hydrophobicity. However, it can be dissolved in some inorganic solvents such as concentrated sulfuric acid, chlorosulfonic acid, 1-methyl-2-pyrrolidinone bromide, and N-methylpyrrolidone chloride. It is important to note that dissolving polypyrrole in these solvents can lead to degradation of the polymeric structure, which can affect its conductive properties.