PLEXUS — Theta algorithm: Optimal Cross-Chain Swap🔗

PLEXUS
4 min readDec 15, 2022

--

In this article we will talk about Theta algorithm, Service structure.

Previous TL;DR🔎

1. CCRP architecture
2. CCRP security

👉previous article: https://link.medium.com/l4uEcOPNBvb

🔗Theta algorithm

PLEXUS innovatively overcomes the limitations of moving assets between chains through its Theta algorithm.

Users usually exchange their tokens through a single path through a well-known bridge, as it is usually difficult to determine the optimal bridge exchange path.

PLEXUS is a Cross-chain DEX aggregator that not only aggregates all bridges, but also aggregates the liquidity of all mainnets, including DEX aggregators such as 1Inch and cross-chain DEXs such as Torchain.

Therefore, PLEXUS, which supports the integrated aggregation service, analyzes the massive liquidity data through its self-developed Theta algorithm, divides the liquidity into the optimal path, and proceeds with cross-chain swaps.

If token A is swapped from token B, from chain, middle chain, and to chain find the optimal swap path considering slippage and price impact, respectively, to support the transaction.

Since this method generates much less slippage and price impact than exchanging tokens through a single DEX, aggregator, or bridge, it is possible to swap tokens between heterogeneous chains at an optimal price.

🔓Service structure

Theta algorithm of the PLEXUS operates as above.

Users can access PLEXUS through the web3.0 wallet, and Dapp users can access services through the PLEXUS API. Users perform optimal swap through CCRP.

✅Key features

All token swap on-chain
PLEXUS allows users to swap every token on-chain. PLEXUS enables heterogeneous ERC-20 to ERC-20 exchange, heterogeneous ERC-20 to coin exchange and Heterogeneous coin to coin exchange.

Fee payment service
Different native tokens are required for users to pay the gas fee through the process of transferring assets between different networks. We enalbe users to pay the gas fee with the destination tokens or PLX tokens.

Cross-chain optimal swap
Users usually exchange tokens through popular DEXs or bridges as it is very difficult for them to determine the optimal exchange path. Theta algorithm of the PLEXUS analyzes the optimal path through multiple paths based on the liquidity data collected in the relay node and enables the optimal swap.

CCRP(Cross-Chain Routing Protocol) solution
PLEXUS innovatively overcomes the limitations of moving assets between chains through its Theta algorithm based “CCRP(Cross-Chain Routing Protocol)”. What makes CCRP special is that it enables swap transactions between heterogeneous chains with an optimal exchange route and minimal cost with a single transaction.

User experience
PLEXUS provides users conveience and better quality trade. Users do not need to go through complex KYC processes and will be able to trade any tokens on-chain across all blockchains in an optimal path using PLEXUS.

💥Vision

Every layer-1 blockchain on the market has different characteristics, consensus algorithms, hashing algorithms, etc. It limits communication between heterogeneous blockchains.

Leading DeFi applications operate on a specific blockchain and are restricted to transact tokens that are native to the specific blockchain. Dapps are isolated from the majority of liquidity offered on other blockchains. Liquidity is fragmented in heterogeneous blockchains which causes inefficiency in exchanging assets and values.

Solving the asset interoperability problem is the huge barrier to mass adoption and it is critical for DeFi to unleash the full potential of it.

PLEXUS will enable any asset exchange between chains and users will be able to use the service without understanding the technology behind it.

Thanks for reading this long article. We await your participation!

🔗Learn more about PLEXUS

🌍Website | 🖍Twitter | 📢Discord | 📞Telegram | 📃Linktree

--

--

PLEXUS

PLEXUS is a cross-chain middleware infrastructure service for mass adoption of blockchain.