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
| Preset | Vault |
|---|---|
sky-money-usdt-savings | sky.money USDT Savings V2 |
steakhouse-prime-instant | Steakhouse Prime Instant V2 |
Borrow Presets
| Preset | Collateral |
|---|---|
susds | sUSDS |
wsteth | wstETH |
wbtc | WBTC |
xaut | XAUt |
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, andgetRepayRequirements - Position Reads:
getVaultPosition,getMarketPosition, andgetAccountData
Next Steps
Get Started
Install the package, create MorphoProtocolEvm, and review prerequisites.
Usage
How to use Morpho vault, market, quote, requirement, and position flows.
Configuration
Install the package and configure presets, explicit targets, and options.
API Reference
Methods, options, presets, and return shapes for MorphoProtocolEvm.