Builders
App Developers
Bridging
Basics of Bridging

Bridging Basics

PNC Mainnet is a "Layer 2" system and is fundamentally connected to Ethereum. However, PNC Mainnet is also a distinct blockchain with its own blocks and transactions. App developers commonly need to move data and tokens between PNC 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 PNC Mainnet and Ethereum. PNC 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 PNC Mainnet message passing system to send arbitrary data between Ethereum and PNC Mainnet. Applications can use this system to have a contract on Ethereum interact with a contract on PNC 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.