چكيده به لاتين
This research aims to propose an innovative and optimized approach for managing transactions in digital games by leveraging blockchain technology and designing a payment channel system. With the rapid growth of blockchain-based games and the increasing volume of transactions in this domain, reducing gas fees (transaction costs) and enhancing processing speed have emerged as two critical challenges. The proposed model in this study is designed based on the use of payment channels, which enable multiple transactions between two parties without requiring repeated registration on the main blockchain. In this model, transactions are conducted within payment channels, and only the final state of the channel is submitted to the blockchain. Initially, a dedicated payment channel is established between each gamer and the game server. This channel acts as a communication bridge, allowing a large number of transactions to be executed without the need for direct recording of each transaction on the blockchain. Throughout the channel’s lifetime, all financial data and transactions between the gamer and the server are exchanged through this channel. This approach not only reduces transaction fees but also significantly improves transaction processing speed. To achieve these objectives, the research first analyzes the architecture of the payment channel system, examining its key components, including the transaction management service, channel management service, dispute resolution service, and collateral management service. Each of these services is designed to enhance efficiency and security. Subsequently, the proposed model was simulated in various environments and its performance compared to traditional methods. These simulations included testing the model on Ethereum and Polygon networks. The results showed that the proposed model could reduce transaction completion time to an average of 1.2 seconds, compared to 15 seconds on the Ethereum network and 2 seconds on the Polygon network, representing a significant improvement. Moreover, the model successfully reduced gas fees by over 50%, achieved through optimizing the number of transactions and minimizing the need for direct recording on the main blockchain. This study provides a practical framework and precise evaluations, demonstrating that payment channels can be an effective solution for managing transactions in blockchain-based digital games. This method can substantially reduce transaction costs and processing time. The outcomes of this research can serve as a valuable blueprint for digital game developers and designers of digital payment systems to enhance performance and reduce operational costs.
Keywords: Payment Channels, Blockchain, Transaction Cost Reduction, Speed Optimization, Blockchain Games