Implementation of a Blockchain-Based Event Reselling System
Tralyn Le, Yoohwan Kim, Ju-Yeon Jo · 2019
We propose a blockchain-based reseller system that ensures the ownership of the products, prevents multiple selling, and guarantees the transfer of the ownership. The system employs mutual collateral method to prevent any dishonest behavior by both seller and buyer. This system is built on Ethereum blockchain to maintain the public record of transactions and uses ERC-721 tokens to define the traded goods. Sellers must confirm their identity with a valid MetaMask account and pay a first-time registration fee. The smart contract utilizes the OpenZeppelin library's Ownable. sol contract to implement the transfer of ownership securely. Users interact with the blockchain through a web interface that holds a MySQL database. In this paper, we present the system architecture, database schemas, operating sequence, sample code segments, and testing methods with an example of event ticket reselling. This system can create a secure, transparent, and trusted reselling service.