Skip to main content
This workflow demonstrates complex multi-hop crosschain operations where origin chain assets bridge to the minting chain, create new tokens, then return for yield deployment. The pattern shows how to leverage centralized minting while maintaining yield positions on preferred chains. Route Mechanics: This advanced bundle orchestrates a complete crosschain yield strategy through multiple atomic transactions:
  • Bridge USDCe from Berachain to Ethereum using Stargate protocol
  • Check USDCe balance on Ethereum after successful bridge completion
  • Mint rUSD using the bridged USDCe through Reservoir’s minting contract
  • Bridge newly minted rUSD back to Berachain via Stargate bridge
  • Check rUSD balance on Berachain after bridging
  • Deposit rUSD into Euler V2 vault for automated yield generation
mintOnBeraDepositOnMainnet.ts
Important Considerations
  • All crosschain operations execute atomically - if any step fails, the entire transaction reverts and funds are safely returned
  • Gas costs for all destination chains are calculated and paid upfront using LayerZero’s native drop feature
  • Bridge fees and slippage may cause slight variations in final amounts received

Updated