Abstract:To improve the credibility and efficiency of quality traceability based on blockchain, some studies were reportedand explainedthe overall designs of combining hazard analysis and critical control points (HACCP) and blockchain technology. However, there is still a lack of operational technical solutions in documented research on the combined use of the two.To make up for the above shortage, a quality traceability model based on HACCP was constructed by using blockchain technology. This critical control points (CCP) in the HACCP specification was extracted for raw oyster processing as the monitoring data points of the traceability system, obtaining the to-be-recorded data structure that can truly reflect the product quality. A highly scalable standard smart contract was designed based on this data structure. Smart contracts for each key control point were then derived. What this achieved was the on-chain data monitoring as well as automatic data quality judgment of the whole raw oyster processing process. It also discussed how a highly robust deployment model was implemented with the reference to a permissioned chain platform Hyperledger Fabric. The whole process of data on-chain was explained from a theoretical perspective. Lastly, the traceability system prototype of the model was implemented. Function and performance tests on the implemented system were conducted. In function tests, the system ensured the traceability and credibility of the quality traceability data by the reading of product history records. The automatic judgment and real-time control of product quality were achieved at the same time. In performance tests, the system average transaction success rate reached up to 377, the transaction success rate was 99.96% and the average delay was 0.5s when the total transaction volume reached 2000, which met the business needs of the quality traceability of the raw oyster processing process. The research result can provide a new reference for the traceability of aquatic product quality or quality safety risks.