How to Build Cross-Chain Apps Between Ethereum and Polygon
Cross-chain apps let users move assets and messages between Ethereum and Polygon. Here is how the three bridge routes work and how to pick one.
On this page
Short answer
Cross-chain development on Polygon means building apps that move assets or messages between Ethereum and Polygon. Developers use the Polygon PoS Bridge, the zkEVM bridge, or the AggLayer unified bridge, and the right choice depends on whether the app needs speed, finality, or shared liquidity.
What is cross-chain development on Polygon?
Cross-chain development on Polygon is building apps that move assets, data or messages between Ethereum and Polygon instead of living on one chain alone. A user might hold a token on Ethereum, use it in an app on Polygon, and send the result back, all in one flow.
Polygon is a set of scaling networks connected to Ethereum. The main one is Polygon PoS, a fast chain with low fees that runs alongside Ethereum. Polygon zkEVM is a rollup that posts proofs to Ethereum. Newer chains built with the Polygon Chain Development Kit connect through AggLayer, a shared layer that links them together.
Cross-chain work is needed because users and liquidity sit on different chains. An app that only runs on Polygon cannot reach an Ethereum user's tokens, and an app that only runs on Ethereum pays Ethereum fees for every action. A bridge moves the value, and the app logic decides what happens on each side.
How does the Polygon PoS bridge move assets?
The Polygon PoS Bridge is the original route between Ethereum and Polygon PoS, and it works by locking tokens on one chain and minting a matching copy on the other. When a user bridges tokens from Ethereum, the bridge contract locks them on Ethereum and releases the same amount on Polygon. Bridging back burns the Polygon copy and releases the locked tokens.
Two parts of the bridge handle different jobs. The PoS bridge moves tokens quickly, with checkpoints that Polygon validators submit to Ethereum to prove the state of the Polygon chain. The older Plasma bridge is slower to exit, taking days, because it relies on fraud proofs that need a long challenge window.
For most apps, the PoS bridge is the default route. It is the official bridge, known as the Polygon Portal, and it handles the common tokens directly. The trade-off is trust: the bridge depends on Polygon validators and the checkpoint system, so a team should understand that model before moving large amounts through it. The details of a general bridge build are covered in how to implement a cross-chain bridge.
How does the Polygon zkEVM bridge work?
The Polygon zkEVM bridge moves assets between Ethereum and Polygon zkEVM using validity proofs instead of validator checkpoints. A validity proof is a small cryptographic proof that a batch of transactions was executed correctly, and Ethereum checks the proof before accepting the result.
Deposits and withdrawals both pass through a shared bridge contract on Ethereum. Each chain keeps a record of what has left it, called an exit tree, and a global exit root combines those records so either side can prove that a withdrawal is real. A user who bridges from zkEVM to Ethereum claims the funds by showing a proof against that root.
The zkEVM bridge is slower to finalise than a simple lock-and-mint bridge, because proofs take time to generate, but it removes the need to trust a validator set for the transfer itself. It suits apps that value Ethereum-level security for the crossing, such as apps moving high-value assets or settling payments. The underlying rollup model is explained in how to implement Polygon in your app.
What is the AggLayer unified bridge?
AggLayer is Polygon's interoperability layer, live since February 2024, and its unified bridge lets many connected chains share one bridge contract on Ethereum instead of each pair of chains building its own. A token on one AggLayer chain is treated as native on the others, so liquidity is not split into many wrapped copies of the same asset.
Three pieces make it work. The unified bridge is the shared contract that moves assets and messages. Pessimistic proofs check that a chain never withdraws more than it deposited, even if that chain's own proof system has a fault. State transition proofs, also called AggChain proofs, confirm that each chain's state changed correctly.
AggLayer also supports atomic cross-chain transactions, where a multi-chain action either completes on every chain or fails on all of them, so a user is not left debited on one chain after a failure on another.
Chains built with the Polygon Chain Development Kit join AggLayer by default, and other chains can connect separately. POL, which replaced MATIC at a one-to-one ratio in 2024, is the token used across the system for gas, staking and governance.
Which bridge route should your app use?
The right route depends on which Polygon network the app uses and what the crossing must guarantee. Speed, security and shared liquidity pull in different directions, so the choice is a trade-off rather than a single best answer.
| Route | How it moves value | Best for | What to watch |
|---|---|---|---|
| PoS Bridge | Lock on Ethereum, mint on Polygon PoS | Everyday apps on Polygon PoS | Trust in validators and checkpoints |
| zkEVM bridge | Validity proofs, shared exit root | High-value transfers, settlement | Proof time before finality |
| AggLayer unified bridge | One shared bridge, native assets | Apps across several Polygon chains | Newer system, evolving tooling |
| Third-party bridge | Liquidity pools or relayers | Routes beyond Polygon chains | Each bridge has its own trust model |
Start with the official route for the network the app runs on, and only add a third-party bridge when the app must reach chains outside the Polygon system. A single bridge means one trust model to audit and one failure mode to monitor, which is easier to operate than three bridges with different guarantees. A Polygon development partner can help with the route choice and the bridge integration.
How do you build a cross-chain app in 6 steps?
You build a cross-chain app by choosing the route, writing the contracts on both sides, and testing the full crossing before real value moves. Keep the first version narrow: one asset, one direction, one action.
- Pick the route and the networks. Decide whether the app runs on Polygon PoS, zkEVM or an AggLayer chain, and which bridge that choice implies.
- Design the two-sided flow. Write down what happens on Ethereum and what happens on Polygon, including who can call each step and what happens if a step fails.
- Write the contracts. Put a contract on each chain that can lock, mint, burn or release, and add a message-passing path such as FxPortal on PoS or the bridge-and-call function on AggLayer.
- Handle failures explicitly. Decide what a user sees when a crossing is delayed, and make sure funds can always be recovered or refunded.
- Test on testnets end to end. Run the full crossing with test tokens, including the slow paths such as exits and failed proofs.
- Monitor the bridge. Watch deposits, withdrawals and pending exits in production, and alert on anything stuck longer than expected.
Most cross-chain bugs live in the hand-off between chains, not in either contract alone. A test that only checks one side will miss the exact failures that cost users money, so the end-to-end test is the step that matters most.
Example (hypothetical): a loyalty token that moves between chains
Example (hypothetical): a coffee chain issues a loyalty token on Polygon, where fees are low, but its best customers hold wallets on Ethereum and want to spend points in the chain's Ethereum-based rewards store.
The team mints 20,000 loyalty tokens on Polygon. A customer bridges 5,000 of them to Ethereum through the PoS bridge, which locks 5,000 on Polygon and mints 5,000 wrapped tokens on Ethereum. The customer spends 2,000 in the rewards store, leaving 3,000 wrapped tokens.
To return, the customer bridges the 3,000 back. The bridge burns the 3,000 wrapped tokens on Ethereum and releases 3,000 of the locked tokens on Polygon. The books balance: 20,000 minted, 5,000 locked during the trip, 2,000 spent, and 3,000 back in the customer's Polygon wallet, with 15,000 never moved. The app never mints a token it cannot account for.
What are the common mistakes?
The most common cross-chain mistakes are treating a bridge as instant, skipping the failure paths, and adding a second bridge before the first one works.
- Assuming instant finality. Exits and proof-based crossings take time; an app that shows success before the crossing settles will confuse users and create support tickets.
- No plan for stuck funds. Every bridge can delay a transfer. If the app has no status page, no refund path and no alert, users assume the money is gone.
- Two bridges too early. Each bridge adds a trust model, an audit and a monitoring job. Ship one route well before adding another.
- Ignoring the message layer. Moving tokens is only half the job; if the app also needs a message to arrive, that path needs its own test.
- Copying bridge code without review. Bridge contracts hold user funds, so a copied contract still needs an audit and a test on the exact networks it will run on.
Key takeaways
- Polygon PoS uses a lock-and-mint bridge secured by validator checkpoints
- The zkEVM bridge uses validity proofs and a shared exit root on Ethereum
- AggLayer gives connected chains one unified bridge and native assets
- Pick one bridge route first; add a second only when the app must reach other chains
- Test the full crossing, including exits and failures, before real value moves
Frequently asked questions
What is the difference between Polygon PoS and Polygon zkEVM?
Polygon PoS is a fast sidechain secured by its own validators and checkpoints to Ethereum, while Polygon zkEVM is a rollup that posts validity proofs to Ethereum. PoS is cheaper and faster for everyday use; zkEVM gives stronger Ethereum-level guarantees for the crossing.
How long does bridging from Polygon to Ethereum take?
It depends on the route. Deposits to Polygon are usually fast, while exits back to Ethereum take longer because the bridge must prove the state of the Polygon chain. The older Plasma bridge can take days to exit, so most apps use the PoS bridge or the zkEVM bridge instead.
What is AggLayer in plain terms?
AggLayer is Polygon's layer that connects many chains through one shared bridge on Ethereum. Instead of each pair of chains building its own bridge, connected chains share liquidity and move assets natively, with proofs that check no chain withdraws more than it deposited.
Do I need a bridge to build on Polygon?
No, if the app lives entirely on one Polygon network. A bridge is only needed when assets or messages must move between Ethereum and Polygon, or between two Polygon chains. Single-chain apps can skip bridging entirely.
What is FxPortal?
FxPortal is the message-passing system for Polygon PoS. It lets a contract on Ethereum send a message that a contract on Polygon can act on, and the other way round. Teams use it when an app needs more than a token transfer, such as triggering an action on the other chain.
Is bridging on Polygon safe?
Bridges hold real value, so no bridge is risk-free. The official routes are the most used and most reviewed, but a team should still read the trust model, keep amounts small at first, audit its own contracts and monitor pending crossings in production.