WDK logoWDK documentation

Lend with Morpho

Use Morpho Vault V2 earn targets and Morpho Blue markets from WDK-compatible EVM accounts.

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.

Use the Morpho lending community module to interact with Morpho Vault V2 earn targets and Morpho Blue markets from WDK-compatible EVM accounts 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. The package exports MORPHO_VAULT_PRESETS and MORPHO_MARKET_PRESETS; inspect those maps for the complete preset registry shipped with your installed version.

Tether-Aligned Presets

OperationPresetTarget
Earnsky-money-usdt-savingssky.money USD₮ Savings
BorrowxautXAU₮ collateral

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