polito.it
Politecnico di Torino (logo)

Building a distributed ledger to support a e-commerce website

Haihang Huang

Building a distributed ledger to support a e-commerce website.

Rel. Luca Ardito. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering), 2022

[img]
Preview
PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (2MB) | Preview
Abstract:

Background: In traditional e-commerce systems, data is usually stored in a centralized mode, and a trusted third party must be found. However, once there is a problem with the third-party database, it will lead to issues such as data privacy and security. The use of blockchain technology can reduce data privacy and security issues caused by human factors, reduce data disputes and improve the development speed of the e-commerce industry. The blockchain can store the data of different merchants' transactions on the chain uniformly through the same data format, so as to realize data security cross-platform and cross-organization sharing. In this paper we will propose distributed ledger, provides important guidance for enterprises to operate and manage blockchain-supported e-commerce application. Objective: In order to effectively solve the trust problem caused by the traditional e-commerce platform storing and maintaining transaction data by itself, improve the authenticity of the product information on the e-commerce platform and the ability of customers to protect their rights when shopping online, e-commerce website based on HyperledgerFabric are designed and implemented. For transactions with merchants, the transaction data is stored on the blockchain, which is unmodifiable and highly credible. The transaction data is stored on the blockchain, and the information used for business data statistics also comes from the blockchain. Compared with The system implemented by the traditional platform greatly improves the credibility of the transaction history, and provides more objective transaction credentials for buyers and sellers. Method: Using the distributed accounting and consensus algorithm of Hyperledger Fabric blockchain technology to record transaction data to ensure the immutability and traceability of transaction data. Blockchain is a decentralized distributed database. The database stores data blocks in chronological order. Each block stores several transaction records. In a distributed environment, nodes guarantee the data consistency of all nodes in the entire network through a consensus mechanism, and use encryption technology to generate blocks to ensure that data cannot be tampered with, forged and verified. It allows any party willing to conduct a transaction to do so directly without going through a trusted third party. The advantages and characteristics of blockchain make up for the low security of traditional users' transaction data, which cannot be directly traded in various institutions, and users do not hold their own records and tracking difficulties. Conclusion: The platform provides supplier and user actors who would like to take advantage of the main functions that it was thought could be useful. The contract management service with the distributed ledger was linked to the available services reachable from the front end by exposing the calls for the chaincode modification in an ad hoc microservice. The thesis project led to the realization of a very good part of the requisites required by DME. The platform can be easily modified to be adapted to commercial use, both from a user experience point of view and for the addition of additional features that may not initially have been thought of. The chiancode also provides the basic functions for its management of smart contracts on both the supplier and user side, but is left open to further possible expansions.

Relatori: Luca Ardito
Anno accademico: 2021/22
Tipo di pubblicazione: Elettronica
Numero di pagine: 67
Soggetti:
Corso di laurea: Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering)
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-32 - INGEGNERIA INFORMATICA
Aziende collaboratrici: NON SPECIFICATO
URI: http://webthesis.biblio.polito.it/id/eprint/22690
Modifica (riservato agli operatori) Modifica (riservato agli operatori)