In the supply chain of mushroom products,due to the numerous and complex links,and it requires a high level of food quality and safety supervision,which leads to the redundancy of information transmission and low query efficiency in the traceability system.In order to solve the problems in the traditional mushroom traceability system,a credible traceability solution for mushroom quality and safety by using blockchain technology was proposed.Firstly,the process analysis of the mushroom supply chain from the perspective of traceability is carried out,and the traceability information and product information are screened and sorted out,and the quality and safety traceability scheme of mushroom based on blockchain is designed.Based on this,the blockchain technology is used to construct the quality and safety traceability model of shiitake mushroom,and the storage mode and data fast query model of multi-main chain in supply chain are applied to design the corresponding intelligent contract.Finally,the proposed model is verified and analyzed,and conclusions are drawn.The results show that under the use of the blockchain test tool Caliper,a comparative experimental environment is established for comparative testing.According to the different amount of data used,when the amount of data in the supply chain is sufficient,the traceability query efficiency and data throughput of the traceability model are greatly improved compared with the traditional traceability model.The blockchain traceability model proposed above is applied to the edible mushroom industry,which can realize the information security transmission and rapid traceability of the mushroom supply chain.