MetaLife social network is built on the principle of decentralized, autonomous and inclusive. To realize intercommunity and an inclusive universe for all things, MetaLife will be the heterogeneous decentralized communication network independent of and embraces all communication protocols. Currently MetaLife has identified and will work with three most vital and influential decentralized communication protocols – Scuttlebutt, Diaspora and ActivePub, but will extend to more protocols in the future. Please refer to Technical section on Communication Protocols for more information
MetaLife will gradually introduce more functional components and technical solutions based on ecosystem expansion. The following outlines some of the technical implementation in the early stage:
Secured ScuttleButt (SSB) Distributed Communication
MetaLife Maniverse communication feature is developed on SSB protocol, a peer-to-peer data gossiping protocol where data is spread and synchronized in a distributed network formed by the social graphs of users. The protocol is developed with offline-first approach to work well without or with sporadic internet connectivity, where fully encrypted data is stored locally and synchronized when network becomes available, like the structure of social connections in the real world, where one can leave a message (with security) in a location to be pick up by the intended recipient. SSB supports numerous modes like LAN, DHT-based direct P2P, Bluetooth, Pub and Room invitations for peers and Pubs discovery and establish connections with each other.
SSB protocol relies on peers to work on disseminating data and since not all peers may be online to provide such services, there are public peers call Pubs and Rooms in the network which essentially are nodes that run at public IP addresses and operate as meeting places where peers come to discover others and get updated with latest data. To ensure consistent QoS, MetaLife implements Proof-of-Gravity challenge and reward mechanism for Pub and Room operators to maintain high uptime to service the community.
Social Interaction Smart Contracts
Smart contracts are implemented to manage off-chain and on-chain social interactions in the decentralized communication framework, aiming to provide a safe, secured, fair, and pleasant platform for all users to socialize and share information. 3 main smart contracts are implemented:
On-chain content – this contract mainly deals with different types of on-chain content, namely publicly published posts and comments, encrypted privately-marked content, and content with rich media (such as videos and images).
Engagement incentives – contract records user’s engagement (content Follow, like, recommend, and comment) if user has opted-in, and periodically distribute rewards (defined by DAO) based on these engagement records in the contract
On-chain Reputation Score – contract records an initial and update reputation score for every creator based on his/her activities. Records guilty users upon verification by Pub consensus, manage block/jail period (during such period, user cannot participate in any voting or incentive activities in the ecosystem, and related comments will be blocked by all pubs). The MetaLife DAO is responsible for managing the reputation score record update.
Layer 2 Network
MetaLife will implement layer 2 as its ecosystem expands beyond social network, including natively supports for Photon off-chain and offline payment, Rollup content NFT off-chain trading platform, and multi-level incentive mechanism.
The off-chain feature in MetaLife ecosystem will support secured multi-parties computing which is currently implemented in Atmosphere cross-chain function, zero-knowledge proof and TEE secured hardware to achieve high quality off-chain small-scope privacy and edge computing application requirements.
MetaLife provides edge storage for backup and encrypted storage services to alleviate performance bottleneck of mobile devices. These optional edge storages are supported by MeshBoxes within proximity for backup of user's local data and encrypted distributed storage (using IPFS or Tahoe distributed storage mechanism) for storing large contents like pictures and videos. The value-added service will adopt a capacity limitation mechanism, e.g., free storage for below 1GB of data, and charges will be charged in tier for storage requirement exceeds 1G.