Title Page
Abstract
요약
Contents
Chapter 1. Introduction 11
1.1. Motivation 13
1.2. Purpose 13
1.3. Outline 14
Chapter 2. Preliminary 16
2.1. Blockchain: An Overview 16
2.1.1. Blockchain Platforms 19
2.1.2. Hyperledger Fabric 24
2.2. Supply Chain Management 29
2.2.1. Conventio(Conventio)nal Value Supply Chains in the Philippines 31
2.2.2. Food Waste and Food Safety Linkage along the Supply Chain 33
2.3. HACCP 34
Chapter 3. Proposed System 37
3.1. System Overview 37
3.1.1. Blockchain-Based Traceability Solution 38
3.1.2. Use Case Analysis 41
3.1.3. Supply Chain Workflow 43
3.2. System Architecture 46
Chapter 4. Implementation and Evaluation 48
4.1. Prerequisites and Hardware Requirements 48
4.2. Hyperledger Fabric Network 49
4.3. Chaincode Data in the State Database 55
4.4. Benchmark Results 57
4.5. Research Comparison 60
Chapter 5. Conclusion 63
Bibliography 65
TABLE 2.1. Characteristics of Blockchain: Permissioned vs Permissionless 22
TABLE 4.1. Conventional Approaches vs. Proposed Blockchain-Based Solution 61
FIGURE 2.1. The Generic Structure of a Blockchain 17
FIGURE 2.2. Transaction Flow in Hyperledger 26
FIGURE 2.3. Smart Contract (1) 29
FIGURE 2.4. Smart Contract (2) 29
FIGURE 2.5. Philippine Value Supply Chain 31
FIGURE 2.6. The Link Between HACCP and the Philippine Agrifood Supply Chain 35
FIGURE 3.1. Blockchain-Based Agrifood Value Chain 42
FIGURE 3.2. Stakeholder Transaction Workflow 44
FIGURE 3.3. Proposed System Architecture 46
FIGURE 4.1. Create Private Channel Log Output 50
FIGURE 4.2. User Registration Javascript Implementation 51
FIGURE 4.3. Add Product Chaincode 52
FIGURE 4.4. Initial Transaction Result 53
FIGURE 4.5. Transfer Product Ownership Chaincode 53
FIGURE 4.6. Get All Products Chaincode 54
FIGURE 4.7. Evaluated Transactions 55
FIGURE 4.8. CouchDB State Database 56
FIGURE 4.9. Transaction/Read Latency 58
FIGURE 4.10. Transaction/Read Throughput 59
FIGURE 4.11. Send Rate 59