- Bridge USDC 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 return bridge
- Deposit rUSD into Euler V2 vault for automated yield generation
mintOnBeraFromMainnet.ts
- This bundle executes multiple crosschain operations atomically - if any step fails, the entire transaction reverts
- LayerZero bridge fees apply for both USDC and rUSD transfers between chains
- Gas costs for Ethereum minting and Berachain vault deposit 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