2. System

2.1. Philosophy:

The goal of MetaPath is to realize the interconnectivity of blockchain ecosystems where users can reliably circulate any digital assets. Essentially, the connectivity of blockchain ecosystems accounts for the integration of smart contracts deployed on different platforms. As the building blocks of blockchain functionalities, reliable communication across different chains depends on the messaging mechanism, eventually the global consensus concerning smart contracts.

MetaPath aims to design an inter-chain smart contract communication protocol where abundant resources will be provided to developers including APIs, documentation, and community support. By following the smart contract communication protocol, developers will be able to create DAPPs achieving inter-platform unity. To be specific, MetaPath designs and implements the interface standard of a communication protocol, which is compatible with various existing asset standards among different blockchains including ERC20 and ERC721. By importing the MetaPath contracts messaging standard, smart contracts of token or NFTs would be able to transfer their assets freely across platforms by invoking the registration and updating mechanism on the MetaPath chain.

With the implementation of the MetaPath protocol,

  • Users will be able to purchase NFTs with any token possibly from different blockchains as long as the MetaPath smart contract routing protocol is implemented on the smart contract of the token.

  • Pairwise exchange of NFTs will also be supported.

  • Also supported are the across-chain consensus of operation messages. Desired characteristics include low costs and high speeds, across devices, openness, decentralization, accessibility, etc.

We separate the implementation of MetaPath into two (2) stages.

2.2. Current Stage:

2.2.1. Architecture

We are archiving MP-Routing-Agent (MPRA) of the mainstream marketplace and swap platforms in a semi-centralized way. MPRA helps users accomplish the exchange transactions of Any-Token-To-Any-Token and Any-Token-To-Any-NFT in a reliable, efficient way. In the meantime, MPRA will build a full path-directed graph and find the optimal option for users according to tokens and amounts.

  • The below is the system architecture of the current stage.

2.2.2. Web3.0:

While the Web3.0 era has arrived, MetaPath designed a kind of smooth pattern to adapt to Web3.0. MetaPath opens up application interfaces and reward policies to third-party wallets and traffic platforms, to encourage more and more third-party platforms to join MetaPath.

In technical terms, MetaPath has deployed proxy contracts on each target chain to execute user transaction requests, and the execution of proxy contracts is adopted to "call" mode.

2.2.3. Achievement:

  • Until now, MetaPath has integrated mainstream swap platforms and NFT/GameFi marketplace, such as Uniswap, 1inch, Axie, Opensea, etc. The proxy contract has been deployed on all main chains.

2.2.4. Screenshot Show:

Any-Token buys NFTs. Please click to visit MetaPath.

2.3. Future:

In the coming stage, we plan to make part of centralized MetaPath fulfilled with full decentralized technology. In general, the overall system structure in the future would be like the figure below.

As illustrated in the Figure above, MetaPath is composed of the Grid-connected Contracts (deployed on different platforms) and the MetaPath mainnet chain.

The smart contracts of most NFT and digital assets products of Metaverse and GameFi are deployed on mainstream public chains or Layer2 chains. MetaPath will design a family of messaging and routing protocols to enable smart contracts of different NFTs and digital assets, as well as other related contracts, to communicate and reach consensus regardless of the chain they are deployed on. Message routing is achieved by the MetaPath network.

MetaPath protocol proposes and implements a technical standard for any-chain nodes to connect to the MetaPath network incrementally and seamlessly. Nodes from various blockchains could support MetaPath routing functions and join the MetaPath network by embedding the protocol standards. The tokenomics are designed to encourage nodes to join the MetaPath network to boost the ecosystem where efficient connectivity among platforms is achieved. The figure below illustrates a node joining the MetaPath network by implementing the MetaPath protocol.

2.3.1. Components:

Grid-connected Contract

The standardized smart contract deployed on native Layer1 blockchains.

MetaPath Chain Pack

MetaPath Chain Pack (PCP) is the embedded protocol package. After adopting the PCP, users join their native blockchain as well as the MetaPath chain by forking.

A PCP is an open-source implementation of the MetaPath core protocol stacks. Third parties could join the MetaPath network by forking or developing their own PCP.

MetaPath Relayer

Responsible for the communication of the Eth Grid-connected Contracts and the MetaPath chain. Synchronization of state and data is achieved by the MetaPath relayer network.

MetaPath Chain

The mainnet of MetaPath. Responsible for data updating and smart contract routing.

Last updated