Three early adopter roles for participants of the Soft Mainnet Launch:
To enable incentivization, RightMesh has developed a micropayment channel solution based on microRaiden and implemented at the Superpeer layer. This allows devices to sell their data into the RightMesh network while allowing other devices to purchase this data.Function of a Superpeer:
Data Sharers can share their mobile data/Internet, or the Wi-Fi network they are connected to, with nearby RightMesh end users in the mesh.
Data Sharers download the RightMesh Controller and set their own data fees. The more RightMesh App End Users are nearby, the more nodes there are to share your data with with.
RightMesh App Users download the RightMesh wallet and a RightMesh app (stay tuned to find out which apps will be selected as the first ever publicly available RightMesh apps, to be released for the Soft Mainnet Launch). No data/Internet is needed to use the apps, so you get your connectivity for free.
One of the functions of Superpeers is to facilitate payments between Buyers and Sellers by acting as a payment hub. This requires Superpeers to manage their pool of tokens carefully. Buyers establish a payment channel to the Superpeer. Superpeers establish a payment channel to the Sellers.
As data starts to flow, funds flow from the Superpeer side of the channel to the Seller side of the channel, and from the Buyer side of the channel to the Superpeer side of the channel. Eventually, the funds available to the Superpeer to continue to pay the Sellers will run low until some of the Buyer channels are closed in order to recoup the funds paid to the Superpeer.
This takes gas and has a cost associated with it. Superpeers can charge a fee in order to cover this cost and to get rewards. The payment channel algorithm is used to determine when it is financially worthwhile to close, open, and fund channels to maximize the earned tokens, to minimize spent ETH for gas, and to maximize the number of buyers and sellers serviced.
RightMesh will provide a basic algorithm for Superpeer operators to use, or operators may choose to develop their own using the RightMesh Java developers API.Learn More