Detonators were used to trigger the explosive charge, and without them the explosive pills could not fire. Deputies would carry explosives and detonators separately and only link them up when needed to shotfire.
Dummy detonators like this were used to train miners in shotfiring and the use of explosives underground. They would be instructed in how to attach the detonator to the explosive pills and how to link them up to the firing device.