Summary: | 碩士 === 國立臺灣科技大學 === 資訊管理系 === 106 === Most of the traditional transaction systems adopt the client-server architecture design, which is based on the combination of application-side and database. The application is responsible for program logic and the database stores data. The emergence of blockchain and smart contracts has changed the way making transaction is done. Smart contracts can combine program logic with the state of the data, allowing instant transactions to operate in a blockchain environment.
This paper proposes a real-time trading system based on blockchain and Kafka messages. Combining the advantages of decentralized and centralized systems, the Quorum development environment based on Ethereum is used as a blockchain network. The inter-planet file system acts as a decentralized database.
This paper is also implemented as a real-time ticketing system. The process of obtaining tickets through smart contract processing, payment through third-party payment, and finally returning to the event management system on the server to generate tickets, the ticket purchase process can be completed. The blockchain approach allows the ticketing system's ticketing logic and ticketing process to be performed separately from smart contracts and traditional web systems, using smart contracts to integrate program logic and database advantages, allowing the ticketing system to react more quickly.
|