Bridging

The United Protocol Bridge enables all functionality necessary for the most common use case, i.e., moving tokens between United Protocol network and Ethereum. It also allows you to easily create L2 representations of existing tokens on Ethereum.

If you need to send arbitrary data between Ethereum & United Protocol network, you can do so by having a contract on Ethereum trigger a contract function on United Protocol and vice versa. The United Protocol Bridge has a simple API for triggering a cross-chain function call.

How does it work?

The standard United Protocol bridge is essentially a set of smart contracts. The two main contracts that implement the ERC-20 asset bridging mechanism are L2StandardBridge onUnited Protocol network, and L1StandardBridge on Ethereum. Deposit or withdrawal transactions sent to the bridge by a wallet on L2 or L1 trigger specific methods in the standard bridge contracts.

For instance, when a wallet sends a deposit request for 10 $UT on L1, these tokens get locked on L1 in the bridge contract, and the matching amount of 10 $UT is minted on L2 and transferred to the wallet.

In case a wallet makes a withdrawal of 10 $UT on L2, these tokens are burned and the matching amount of 10 $UT tokens locked on L1 get released and transferred to the wallet.

You can connect your wallet to the United Protocol Bridge UI to make simple deposits and withdrawals directly. However, if you're looking to use the bridge API instead, refer to the page for more information and tutorials on how to call the appropriate SDK methods to bridge the various kinds of tokens that are currently supported.

Using the Official United Protocol Bridge

To move your $UT tokens/Ether/other ERC-20 tokens between the United Protocol and Ethereum chain, visit the United Protocol Bridge. Feel free to try out the testnet bridge first to get yourself acquanted with the UI. You can find the detailed steps here:

Example of a cross-chain architecture enabling privacy

Last updated