The quality traceability of precast components has largely affected the widespread adoption of prefabri-cated buildings.Blockchain technology provides an effective solution to change the centralized storage mode of traditional traceability system and its related disadvan-tages.In this paper,we propose a framework of quality traceability system for precast components based on blockchain technology.The system framework adopts a hybrid blockchain architecture and dual storage mode,defines three types of smart contracts,and creates an interactive and efficient source tracing query method,which could effectively achieve the goals of decentraliza-tion,openness,and non-tamperability,as well as efficient traceability.