5G networks have been widely deployed all over the world, which involve massive multiple-in-put multiple-output (MIMO), millimeter-wave communication, and other technologies to improve the performance of the whole system.IRS can program the signal propagation by intelligently controlling a large number of passive reflecting elements, and blockchain can improve the system security in the whole communication process.