Protocol Layer
Dealin The protocol is divided into instant layer, consensus layer and content distribution layer:
Instant Layer
The instant layer enables players in the user's world to communicate with each other, and its spatial ownership is based on the consensus layer. At this level, the space content is referenced by the hash value of the file content. Depending on the reference, users can download content from IPFS or Storj or Cloud Service. The downloaded file contains a description of the items, textures, sounds, and other elements needed to present the scene. In addition, the file also includes the web address of the assembly site server, which can be used to coordinate the communication between the simultaneously explored P2P users.
Consensus Layer
Dealin Maintain the plot ownership account in the virtual world through smart contracts. We call these irreplaceable digital assets "space": each space has a unique (x, y) coordinates, a space owner, and content description file reference (which can be used to encode what space everyone wants to provide). Dealin Users will connect with Binance, Wave field and Ethernet to timely obtain the status update of space smart contracts. Space needs to be purchased using Dealin Dealin tokens. Dealin tokens are a substitute for the cost of claiming space ownership, and space contracts have a destruction function. Through the destruction of Dealin token, new items can be created in the space registration, and the new space must be close to the space that has been claimed.
Content Distribution Layer
Dealin Use a decentralized storage system to distribute the content needed to present the virtual world. Each piece of land to be presented has a reference to a description of the content of the plot, which can be retrieved through a smart contract. The current solution is to store magnetic links to each plot, using practically tested IPFS and Kademlia DHT networks. But as IPFS10's technology matures, it offers a better solution. This decentralized, distributed system allows the Dealin to work without any centralized server infrastructure. So, as long as users distribute the content and transfer the cost of running the system to other participants who can benefit from it, the virtual world will continue to exist. Moreover, the system can provide Dealin with a strong resistance to censorship, eliminating the power of centralized authorities to force change rules or prevent users from participating. However, hosting these files and bandwidth has huge costs. At present, Dealin P2P network users sow content out of good faith, no compensation. But in the future, the cost of the infrastructure can be paid by using protocols such as Filecoin. When the technology is truly available, micropayments can be used to pay for the services. At that time, Dealin's profits from constantly selling DLC tokens will be enough to cover long-term operating costs. The description of the space includes a list of files used to present the plot, a list of services provided by the space owner, and an entry point used to coordinate the location of the objects and their actions. This document must state that:(1) Content file: Refferences to mesgrids, textures, audio files, and other related content used to present the space. Given this, users will know what is needed to present the space, without having to issue instructions.(2) Script entry point: The script system controls the position of the content in space and its behavior. This allows for applications and animations to appear in that space. The script system also needs to coordinate various behaviors, such as the location and activity of objects, the length and frequency of sound playback, and possible interactions with the user.(3) P2P interaction: This enables the user to connect to the server, which in turn automatically connects, coordinates position and posture, and enables voice chat and message sending. With a space owner or a third-party managed server, users can communicate with each other through a P2P connection. Without the need of centralized servers, P2P connections can provide social interaction between users and applications that space people want to run in their own space. To coordinate the guidance program for P2P connections, space owners must provide assembly ground servers, otherwise users will not be able to see each other in their space. The maintenance of such servers can be done with the same incentives as the content servers. When a feathered level protocol like STUN can cover the functionality required by the server, the cost becomes quite low. But more advanced features, such as voice communication between multiple concurrent users or Internet traversal services, can be paid through small payments. In the Dealin world, the user's social experience will include the avatar, other user positioning, voice chat, messaging, and interaction with the virtual environment. This requires different protocols that will run on existing P2P solutions (such as FederatedVolP or WebRTC).
Last updated
Was this helpful?