# Project Architecture

#### **Project Architecture**

The **Forti Metaverse** protocol is structured into three core layers, ensuring seamless gameplay and decentralized content management:

***

**Consensus Layer**

This layer tracks asset ownership and content. Asset ownership is established using a hash of the file's content, which includes descriptions of sounds, objects, textures, and other elements necessary to render the game scene. Additionally, it contains a URL to facilitate peer-to-peer (P2P) connections, enabling efficient coordination within the platform.

The **Forti Metaverse** utilizes the Binance Smart Chain and smart contracts to maintain a ledger of asset ownership. Each asset is uniquely defined by its (x, y) coordinates, an owner, and a reference to a content description file that specifies the owner’s intended use of in-game assets.

***

**Asset Content Layer**

This layer allows for decentralized downloading of assets, enabling efficient content distribution without relying on centralized systems. The **Forti Metaverse** employs a decentralized storage protocol to distribute the content required for rendering the metaverse. When a parcel is rendered, a reference to the content file is retrieved from the smart contract.

Currently, the cost of hosting and bandwidth is borne by users. However, the project plans to introduce a cost distribution model in the future to ensure sustainability.

***

**Real-Time Layer**

Users in the **Forti Metaverse** can communicate through peer-to-peer (P2P) connections, facilitated by servers hosted by asset owners and third parties. These P2P connections are crucial for enabling social interactions in a decentralized environment. Asset owners provide rendezvous servers to coordinate user connections, ensuring a smooth and collaborative experience.

***

This three-layer architecture reflects the **Forti Metaverse's** commitment to delivering a decentralized, user-focused ecosystem that empowers players and asset owners alike.
