How to Bridge
In order to provide liquidity to non-native ESC farms, you'll need to swap for or move assets to ESC from other chains first. This process is called bridging.
Glide's bridge uses the same underlying contracts as Shadowtokens. It currently supports moving a limited set of assets from Ethereum, Binance Smart Chain (BSC) or Heco to ESC, and from ESC to Ethereum, BSC or Heco. The bridge will only list assets that are support by the Glide DEX. ETH - ESC bridge supported tokens:
BSC - ESC Bridge Supported Tokens:
Heco - ESC Bridge Supported Tokens:
As the protocol grows alongside ESC, we'll be adding more tokens to the list to support! It's also worth noting that our partner Elk Finance provides bridging capability to ESC from over 14 other EVM networks. This makes moving assets to and from ESC much easier. Check out the Elk bridge resource section for more information.
The advantage of the bridge design is that the user only needs to submit one transaction on the origin chain and the bridge will automatically pay the gas fee on the destination chain. This is good for user experience, but has the disadvantage of necessitating some fee capture to cover gas expenses (especially for expensive chains such as Ethereum).
Fees are percentage based and vary based on chain. Minimum transfer limits are also imposed in many cases to improve gas efficiency and minimize costs. The table below details the minimum transfer limits and fees for the various supported tokens.
First, select the networks you’d like to bridge to and from. One of the networks must be Elastos as the Glide bridge does not support bridging ETH -> Heco or Heco -> ETH.
In the "Select token to bridge" field, select a token that you’d like to bridge.
Check that the amount you've entered is within the minimum and maximum supported by the Shadowtokens contracts. Bridging tokens onto or off of ESC will not incur a fee! However, native assets (i.e. ETH, HT, ELA) will include a small fee (usually 0.1%).
For non-native assets (everything but ETH, HT, ELA), you will need to allow the bridge contract to spend your tokens. Click enable and then approve the transaction in Metamask.
Metamask will ask you to confirm your action. Unlike many other bridges, there will only be 1 transaction for you to confirm from the origin chain. The destination chain transaction is handled internally by the bridge mediator. You will receive the same token you bridged.
The bridging process may take a few minutes to propagate. The Glide interface will monitor for the bridging success for 3 minutes, after which it will time out and alert the user to monitor the block explorer for their transaction. If this happens to you, fear not! Give it 10-20 minutes and if your tokens still do not show up on the destination chain, then check the troubleshooting section or hop in our Telegram for assistance. Do no worry, your funds are safe.
To check if you've received the token on the other side of the bridge, connect your wallet to ESC, visit the swap page and look to see if your token balance is updated. Alternatively, you can add the token address to Metamask (find them here), or simply search your address in the block explorer at https://esc.elastos.io.
What now? If you were looking forward to trading some tokens or farming, just like any other chain, you will need some ELA for gas to perform transactions. Luckily you should already have some from the bridging process! If for whatever reason the faucet failed or ran out of funds, please drop a message in the Telegram and someone will help you out.