Room-temperature superconductivity has been a century-long-held dream of scientists. Hydrogen-rich compounds at high pressures are predicted to be potential high-temperature and even room-temperature superconductors and have become one of the superconducting materials that have received much attention in recent years.