Cross-Chain Routing

Rubic
4 min readAug 27, 2021

Rubic is thrilled to announce the world’s first working Cross-Chain Routing solution. Rubic’s global aim is to make Crypto easier for every user. Since there is no available Cross-Chain Routing solution now, The Rubic team thinks that it is important to explain how this technology works.

Rubic plans

The number of total DeFi users surpasses 3 million people, with DEX trading volume at $816 billion for the last year. The average number for DEX traders over a week is more than 200,000 and approximately 40% of them are facing the problem of multistep transactions. We strive to achieve high performance and satisfy the needs of more than half of crypto traders with Rubic’s Cross Chain Routing solution.

What is the difference between Rubic’s cross-chain routing and existing solutions?

The main difference between Rubic and other solutions on the market is the convenience of executing a transaction. Rubic combines the first step (bridge) and the second step (exchange) into one Swap, offering the best route, taking into account the liquidity and cost of gas.

What is the tech behind a cross-chain swap?

Cross-chain routing works through a system of smart contracts, validators, relayers and a pool of RBC/BRBC/wRBC tokens. The cross-chain routing contract exchanges a user’s tokens for an RBC token through a smart contract and sends them to the RBC pool of the source network on the cross-chain routing contract All exchange parameters are recorded in the transaction: the source network token, the target network token, amounts, the user’s address, slippage, etc.

  1. The validator, scanning the blockchain, catches an event on the contract for this transaction and reports it to the relay. In the message, the validator transmits the transaction data in the source network and the parameters for the transaction in the target network.
  2. The relay calls the cross-chain routing smart contract function and makes an exchange of BRBC/wRBC tokens from the pool for tokens selected by the user via a DEX like Pancakeswap.
  3. The hash of the source network is recorded in the smart contract of the target network — which protects against double sending.
  4. To balance the RBC/BRBC/wRBC pools, tokens are transferred over the bridge.
  5. Restrictions, the amount of commissions, etc. are set on the contract.

For a user, cross-chain routing is no different from a regular swap: You need only select a token in the source network, a token in the target network, enter the amount to exchange and click swap. Within minutes, the user will receive tokens from the target network to the same address from which he sent the transaction.

At the onset of our cross-chain routing, tokens must be listed on Uniswap/PancakeSwap/Quickswap, with sufficient liquidity, to make an exchange. We check these conditions and inform the user if the swap is not possible.

There will be multiple stages of development for the cross-chain routing function:

Version 1.0: A centralized solution based on the work of the project’s backend is used to process the transaction

Version 2.0: Adding multisig technology: multiple validators and relays. The decision on the validity of the transaction will be made at the contract level, taking into account the signed transactions, for example, ⅔.

Version 3.0: Transition to a decentralized network of oracles as the main option. It will be possible to use other decentralized technologies.

RBC Utility

Each transaction is charged a fixed commission in RBC tokens. At the same time, we reserve the opportunity to make a decision on burning part of the commission received. Thus, the RBC token performs a role similar to the role of ETH, Matic, BNB in its own blockchains — the role of gas when conducting a transaction.

Safety

Rubic’s team cares about keeping users’ money safe. That is why we are going to set up a big audit process in September. This audit would be completely devoted to the Cross-Chain Routing Feature. Before its launch, we’ll make sure that the feature is absolutely secure and reliable.

Staking

Users will be able to participate in cross-chain routing by providing their tokens to the RBC/BRBC/wRBC pool for swaps. The stakers will receive a part of the commission in proportion to their share of provided liquidity.

Staking of other tokens through which cross-chain swaps will also be conducted.

Rubic’s Cross-Chain Routing will allow every user to swap any token on any network fast and without any unwanted actions. The launch of this feature will relieve users of constant passing between different blockchains. Rubic Cross-Chain Routing will save your time, money and nerves.

Rubic will charge a standard commission of 0.3% of cross-chain routing swap volume.

Now we provide Cross-Chain Routing across ETHEREUM, BSC and POLYGON networks.

The routing will be scaled by adding new blockchains. For example, Harmony, Solana, Fantom and etc..

Thank you for your continued and much-appreciated support!

Rubic: https://rubic.exchange/

PancakeSwap: https://exchange.pancakeswap.finance/#/swap?outputCurrency=0x8E3BCC334657560253B83f08331d85267316e08a

Gate.IO: https://www.gate.io/myaccount/deposit/RBC

Uniswap: https://app.uniswap.org/#/swap?inputCurrency=0xa4eed63db85311e22df4473f87ccfc3dadcfa3e3

Probit: https://www.probit.com/app/exchange/RBC-USDT

CoinGecko: https://www.coingecko.com/en/coins/rubic

CMC: https://coinmarketcap.com/en/currencies/rubic/

Our social media channels:

Twitter https://twitter.com/CryptoRubic

Telegram https://t.me/cryptorubic_chat

Medium https://cryptorubic.medium.com/

Discord https://discord.gg/zmf9QF2Vuh

YouTube https://www.youtube.com/channel/UCuFejvCuMtepW-4nx1DNFfg

Facebook https://www.facebook.com/RubicDEX/

Reddit https://www.reddit.com/r/Rubic/

--

--

Rubic

Rubic's Best Rate Finder tool for crypto swaps aggregates 70+ blockchains, 220+ DEXs and bridges, and 15,500+ crypto assets.