Morpho Bundlers
Morpho Bundlers are powerful smart contracts that enable developers to combine multiple onchain actions into a single, atomic transaction. Instead of forcing users through a sequence of separate transactions (e.g., approve, wrap, supply, borrow), you can bundle them all into one click, creating a seamless and gas-efficient user experience.
The bundler is the recommended way to build user-facing applications on Morpho.

Why Use Morpho Bundlers?
- Superior User Experience: Abstract away the complexity of DeFi. Actions like leveraging a position or depositing into a vault become a single, intuitive step for the user.
- Gas Efficiency: Combining multiple operations into one transaction significantly reduces the overall gas cost.
- Atomicity and Safety: If any step in the bundled sequence fails, the entire transaction reverts. This prevents users from getting stuck in partial states (e.g., approved tokens but a failed deposit).
- Powerful Composability: Combine actions across the Morpho ecosystem and even with external protocols like DEXs.
Key Features & Capabilities
Bundlers can combine a wide array of actions, including:
- Token Management: Approve ERC20 tokens (with
permit
orpermit2
), wrap/unwrap native tokens (e.g., ETH/WETH), and transfer tokens. - Morpho Market Actions:
supply
,supplyCollateral
,borrow
,repay
, andwithdraw
. - Morpho Vault Actions:
deposit
andwithdraw
from any ERC4626-compliant vault. - Public Allocator: Trigger a
reallocateTo
call to move liquidity on-demand. - Reward Claims: Claim rewards from the Universal Rewards Distributor (URD).
- DEX Swaps: Execute swaps through integrated DEX aggregators like ParaSwap.
- Protocol Migrations: Move positions from other protocols like Aave or Compound to Morpho.
Getting Started
This section provides all the information you need to integrate bundlers.
- How It Works: Start here for a conceptual overview of the bundler's onchain and offchain architecture.
- Tutorials: Follow our step-by-step guides to build, simulate, and execute bundled transactions in your application. The App Integration tutorial is the recommended path for most developers.
- Resources: Find contract addresses, SDK links, and source code.
Product-Specific Integration Guides
See how bundlers are used to enhance the user experience for both of Morpho's core products:
- For Earn: Use Bundlers for Vaults Tutorial
- For Borrow: Use Bundlers for Complex Borrows Tutorial