WDK logoWDK documentation

Lending Morpho EVM Overview

Overview of the @morpho-org/wdk-protocol-lending-morpho-evm community module

Community modules are developed and maintained independently by third-party contributors.

Tether and the WDK Team do not endorse or assume responsibility for their code, security, or maintenance. Use your own judgment and proceed at your own risk.

The @morpho-org/wdk-protocol-lending-morpho-evm community module lets WDK-compatible EVM wallet accounts interact with Morpho Vault V2 earn targets and Morpho Blue markets through @morpho-org/morpho-sdk.

Features

  • Vault earn flows: Deposit into and withdraw from configured Morpho Vault V2 targets
  • Market collateral: Supply and withdraw collateral in a configured Morpho Blue market
  • Borrow/Repay: Borrow from and repay a configured Morpho Blue market
  • Requirements API: Surface Morpho SDK approval, signature, and authorization requirements
  • Quotes: Estimate transaction costs before sending
  • Account Reads: Read vault, market, and combined account position data
  • Account Support: Works with standard EVM accounts and ERC-4337 smart accounts

Supported Targets

The module supports curated Ethereum mainnet presets and explicit Morpho target configuration.

Earn Presets

PresetVault
sky-money-usdt-savingssky.money USDT Savings V2
steakhouse-prime-instantSteakhouse Prime Instant V2

Borrow Presets

PresetCollateral
susdssUSDS
wstethwstETH
wbtcWBTC
xautXAUt

Wallet Compatibility

  • Standard EVM Wallets: @tetherto/wdk-wallet-evm
  • ERC-4337 Smart Accounts: @tetherto/wdk-wallet-evm-erc-4337
  • Read-Only Accounts: For quoting and reading configured vault or market positions without sending transactions

Key Components

  • MorphoProtocolEvm: Main class for Morpho lending operations
  • Morpho Protocol Options: Configure vaults, markets, presets, chain guards, slippage, signatures, and deployless reads
  • Requirement Helpers: getSupplyRequirements, getSupplyCollateralRequirements, getBorrowRequirements, and getRepayRequirements
  • Position Reads: getVaultPosition, getMarketPosition, and getAccountData

Next Steps

On this page