- Bridge USDCe from Berachain to Ethereum using Stargate protocol
- Check USDC balance on Ethereum after successful bridge completion
- Mint rUSD using the bridged USDC through Reservoir’s minting contract
- Bridge newly minted rUSD back to Berachain via Stargate bridge
- Check rUSD balance on Berachain after the bridge returns
mintOnBeraFromMainnet.ts
- Each chain’s steps run atomically within their own transaction, but a destination callback failure cannot revert the finalized source-chain bridge. Refund behavior depends on the bridge; monitor delivery with Bridge Status
- LayerZero bridge fees apply for both USDCe and rUSD transfers between chains
- Gas costs for Ethereum minting and the Berachain callback are calculated upfront
- Bridge timing may vary based on network congestion on both chains
Resources:
- Bridge Action Reference - Technical details on crosschain bridging
- Crosschain Routing Guide - Getting started with multi-chain workflows
- getLayerZeroPool SDK Method - Finding available bridge pools programmatically
- Bundle Actions Guide - Creating complex multi-step transactions
Updated 2025-09-29
