A cyanide bath, as used in electroplating, would dissolve the gold, but is not suitable for refining, because other metals (silver, copper, &c.) passing with gold into the solution would deposit with it.
It should be mentioned here, however, that solutions which would deposit their metal on any object by simple immersion should not be generally used for electroplating that object, as the resulting deposit is usually non-adhesive.
An interesting example of secondary action is shown by the common technical process of electroplating with silver from a bath of potassium silver cyanide.
ELECTROPLATING, the art of depositing metals by the electric current.
ELECTROTYPING, an application of the art of electroplating to typography.