Builders
App Developers
Bridging
Basics of Bridging

Bridging Basics

DEVIUM Mainnet is a "Layer 2" system and is fundamentally connected to Ethereum. However, DEVIUM Mainnet is also a distinct blockchain with its own blocks and transactions. App developers commonly need to move data and tokens between DEVIUM Mainnet and Ethereum. This process of moving data and tokens between the two networks is called "bridging".

Sending Tokens

One of the most common use cases for bridging is the need to send ETH or ERC-20 tokens between DEVIUM Mainnet and Ethereum. DEVIUM Mainnet has a system called the Standard Bridge that makes it easy to move tokens in both directions. If you mostly need to bridge tokens, make sure to check out the Standard Bridge guide.

Sending Data

Under the hood, the Standard Bridge is just an application that uses the DEVIUM Mainnet message passing system to send arbitrary data between Ethereum and DEVIUM Mainnet. Applications can use this system to have a contract on Ethereum interact with a contract on DEVIUM Mainnet, and vice versa. All of this is easily accessible with a simple, clean API.

Next Steps

Ready to start bridging? Check out these tutorials to get up to speed fast.