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: 56.96%(-0.57%/24h)
ETH Dominance: 12.37%(+0.09%/24h)
Defi Market Cap: $118.75B(+5.38%/24h)
Total Market Cap: $3375.12B(+0.35%/24h)
Total Trading Volume 24h: $308.81B(+9.00%/24h)
ETH Market Cap: $417.63B
Defi to ETH Ratio: 28.44%
Defi Dominance: 3.37%
Altcoin Market Cap: $1452.63B
Altcoin Volume 24h: $202.02B
Total Cryptocurrencies: 32936
Active Cryptocurrencies: 10446
Active Market Pairs: 95050
Active Exchanges: 772
Total Exchanges: 9779
BTC: 97148.36$(1.11%/1H)
ETH: 3463.17$(1.27%/1H)
AVAX: 39.32$(2.48%/1H)
BNB: 676.05$(1.06%/1H)
MATIC: 0.5$(2.73%/1H)
FTM: 0.99$(2.9%/1H)
ADA: 0.94$(3.2%/1H)
DOT: 7.29$(2.49%/1H)
UNI: 13.67$(3.43%/1H)
CAKE: 2.52$(3.05%/1H)
SUSHI: 1.56$(3.45%/1H)
ONE: 0.03$(4.4%/1H)