Cross-Chain Routing

  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.

--

--

--

Our Multi-Chain Protocol allows swaps between 15,000+ tokens on ETH, BSC, Polygon, AVAX, MOVR, FTM, SOL, ONE, ARB, NEAR & Aurora in 1 click; featuring 60+ DEXs!

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rubic

Rubic

Our Multi-Chain Protocol allows swaps between 15,000+ tokens on ETH, BSC, Polygon, AVAX, MOVR, FTM, SOL, ONE, ARB, NEAR & Aurora in 1 click; featuring 60+ DEXs!

More from Medium

Building a Successful NFT Collection on Fantom

BraavosDAO Presale Contract Review

First Week on AVAX Recap

$CRE8 Farming with SushiSwap’s Onsen