The hammers refer to the origin of this candy, namely the mines. The miners ate this candy or the aniseed or green variety with eucalyptus to clear their airways.