# Next-Generation Payment System for Device-to-Device Content and Processing Sharing
## 1 Introduction
In this study, a framework is proposed to share the unused bandwidth between the devices, as well as the computing power, in a network for reducing the total traffic load of the servers and access points. We investigate the cost of receiving data from other users, as opposed to receiving it from the access point. This can alternatively be interpreted as the revenue of providing data to the other users. We look at several scenarios that impact the behavior of the users, the amount of currency exchanged, and the quality of the content users can access. The payments, which are the incentives provided to the users for sharing their idle resources, are executed as cryptocurrency. In this study, we propose a mechanism to share bandwidth and processing resources among subscribers by using smart contracts and a blockchain-based incentive mechanism, which is used to encourage subscribers to share their resources. The proposed incentive system will be a means to encourage and enhance information exchange among multiple parties in future telecommunication networks. We demonstrate the applicability of the proposed method by examining several use cases:  
1. Exchanging multimedia data by simulating video streaming playout scenarios around a macrocell;
2. CPU sharing for video transcoding that the requesting parties need;
3. Increasing the quality of playout in the network. We propose a framework for the use of a universal payment system named TelCash [6] between the users, and it will potentially be used later between the users and operators, which propose a solution for current roaming problem and establishes trust in X2X communications. TelCash has great potential in solving the charges of the roaming problem in the telecommunication world by allowing subscribers to pay the fees for the services purchased from any operator using crypto-cash. The progress in the usage of e-sim technology is one of the motivators of this idea. However, it should also be noted that the common platform where all operators and users converge plays an important role in the authentication of an unknown subscriber to a new operator. The contributions of this study can be summarized as follows:  
* A framework inspired from a recently described crypto-currency-based payment system, TelCash, is proposed. * The performance of a single-cell system using this framework with the goal of maximizing content quality is investigated. Quantitative results are obtained, which demonstrate that the quality of the content significantly increased and also maintained even when trans-coding is not used. * The effect of the cost attached to the content obtained from the base station is quantified, which can pave the way toward analyses in pricing strategies from the perspective of mobile operators and content providers. The rest of this paper is organized as follows: In the next section, we present a literature survey to inform the readers about the state-of-the-art studies in such systems. Next, in Section 3, we describe the system model our analysis is based on. We present the results from our simulation study in Section 4. Finally, we conclude with Section 5.