The Relay Bridge, how does it work?

Published on: 23.09.2021

The RELAY bridge is based on the foundations set by the ChainSafe technology with the principles of lock/mint/burn/release and wrapped tokens mechanisms.

Security and safety are guaranteed by three approaches: Thorough smart contracts/code audits, continuous “white-hat” hacker surveillance, and decentralization of the relayers during a cross chain operation.

Bridging a token back and forth

To accomplish cross-chain transfers, a user wallet sends tokens to the Relay bridge contract and receives them back on the destination chain in the same wallet address.

Wrapped tokens vs fungibility

One drawback of wrapped tokens is the non fungibility issue: Two bridges from two different projects end up with a different (and non compatible) wrapped token of the same token bridged from its native chain. So it means liquidity is fragmented as well on the destination chain, like the need to have 2 liquidity pools for each of the wrapped tokens on the destination chain for the same token transferred from its origin chain.

Some projects are attempting to solve the fungibility issues, but they have/had been experimental and/or careless with audits, disregarding the security of their users’ funds, and being subjected to major and public known and repeated hacks (like Thorchain, ChainSwap, Poly Network, AnySwap). For the time being, these more exotic cross-chain designs using liquidity bridging, mapping tokens, etc. have proven to be most vulnerable to attack vectors from malicious actors. Users of these bridges have lost funds, sometimes hundreds of millions per incident. For the Relay team, security and safety is paramount. For now, using wrapped tokens has proven to be the most bullet proof method.

Security with audits

Security of the smart contracts and bridge code:

  • Chainsafe has been audited by Consensys Diligence
  • Zokyo audited the original smart contracts when the project was formerly known as the Zero Exchange (the initial launch of the bridge, which morphed into Relay)
  • The Relay bridge has been fully audited by Halborn (+ subscribed to their continuous audit monitoring service)

Ease of integration of new chains — EVM compatibility

When a new chain is EVM compatible, it’s technically easier to add it to the bridge portfolio than one which is not. Although the team’s objective is to also support non EVM compatible chains, like Solana and to consider other similar opportunities.

Gas tokens faucet

When a wallet transfers tokens to a chain for the 1st time, a drip of gas token (like AVAX, HT, BNB, etc, except ETH) is automatically airdropped on the destination chain to allow for a few trades on the chain. It avoids being stuck with tokens and unable to trade without first going to a CEX for example, buying some gas tokens and send it to the wallet.

About RelayChain

The race to bridge DeFi is over with RelayChain. Almost instantly add cross-chain swaps to any DEX or dApp. Earn bridge fees in ETH, MATIC, DOT, BSC, AVAX, HECO and more.

SOURCE

https://medium.com/@Relay_Chain/the-relay-bridge-how-does-it-works-d46ee1c795b3

Market Stats:
BTC Dominance: 54.22%(+0.07%/24h)
ETH Dominance: 15.82%(-0.16%/24h)
Defi Market Cap: $86.26B(+11.17%/24h)
Total Market Cap: $2323.25B(+0.35%/24h)
Total Trading Volume 24h: $111.88B(+9.45%/24h)
ETH Market Cap: $366.99B
Defi to ETH Ratio: 23.5%
Defi Dominance: 3.54%
Altcoin Market Cap: $1063.58B
Altcoin Volume 24h: $62.45B
Total Cryptocurrencies: 29281
Active Cryptocurrencies: 9734
Active Market Pairs: 81918
Active Exchanges: 753
Total Exchanges: 8350
BTC: 63961.44$(-1.05%/1H)
ETH: 3062.48$(-0.77%/1H)
AVAX: 34.95$(-0.63%/1H)
BNB: 556.76$(-0.42%/1H)
MATIC: 0.68$(-0.55%/1H)
FTM: 0.7$(-0.59%/1H)
ADA: 0.47$(0.37%/1H)
DOT: 6.72$(-0.51%/1H)
UNI: 7.5$(-0.64%/1H)
CAKE: 2.76$(-0.35%/1H)
SUSHI: 0.94$(-0.55%/1H)
ONE: 0.02$(-0.49%/1H)