Skip to main content
The workflow shows how to access Reservoir minting infrastructure from remote chains through automated bridging sequences. Route Mechanics: This bundle orchestrates a complete crosschain yield strategy through multiple atomic operations:
  • Bridge USDCe from Berachain to Ethereum using Stargate protocol
  • Check USDCebalance on Ethereum after successful bridge completion
  • Mint rUSD using the bridged USDCethrough 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
Important considerations
  • This bundle executes multiple crosschain operations atomically - if any step fails, the entire transaction reverts
  • LayerZero bridge fees apply for both USDCe 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:

Updated