back

How does bridging work on the Hubblenet?

Twitter
/content/academy/how-does-bridging-work-on-hubble-exchange.png

Hubble Exchange offers a seamless deposit feature, allowing users to make deposits from multiple EVM chains in a single transaction.

But how does it work behind the scenes?

Hubble Exchange allows deposits from multiple chains by leveraging the technology of @LayerZero_Labs and @StargateFinance

  • Stargate is used to bridge funds from any supported chain to C-Chain.
  • LayerZero acts as the primary bridge between C-Chain and the Hubblenet.

Let's look at an example:

A user deposits USDC from Arbitrum to the Hubblenet to start trading.

Once the transaction to deposit is confirmed, the funds will be sent to C-Chain using Stargate. But there is an additional instruction relayed by Stargate together with the USDC!

This is to send over the funds to the Hubblenet upon arrival to C-Chain. No additional confirmations needed.

The Layer Zero bridge will then send the USDC to the Hubblenet, together with the instruction to deposit them into the margin account and reserve some for gas.

The result?

On Hubble Exchange users can deposit from any EVM with USDC supported by stargate in a single transaction, and be ready for trading without any convoluted extra steps.

Recent Reads