morpho

Create and query Morpho Blue lending markets with deterministic IDs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/labsaistudio/AABC-Labs --skill morpho-labsaistudio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: morpho
Source: https://github.com/labsaistudio/AABC-Labs/tree/main/backend/agent/skills/catalog/morpho
Command: npx skills add https://github.com/labsaistudio/AABC-Labs --skill morpho-labsaistudio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Morpho Blue enables developers to deploy isolated lending markets and manage tokens, vaults, and collateral without central governance friction.

Core Features & Use Cases

  • Market creation & management: Define five MarketParams and deterministically derive a market ID with idToMarketParams and createMarket; interact with a single Morpho Blue contract for all markets.
  • Market state & interaction: Query market data, account positions, accrue interest, and perform supply, borrow, repay, and collateral operations; also interact with MetaMorpho vaults.
  • MetaMorpho vaults: Deposit to, withdraw from, and redeem from ERC-4626 compliant vaults to allocate across markets.

Quick Start

Create a new Morpho Blue market by supplying MarketParams (loanToken, collateralToken, oracle, irm, lltv) and calling createMarket, then verify the market parameters with idToMarketParams and inspect its state with market.

Frequently Asked Questions about morpho

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Morpho Blue lending market on Ethereum?

To create a Morpho Blue lending market, supply five MarketParams—loanToken, collateralToken, oracle, irm, and lltv—and call createMarket to deterministically derive a unique market ID. Verify the configuration using idToMarketParams and inspect the market state.

How do I query market state and account positions in Morpho Blue?

Query Morpho Blue market state and account positions by interacting with the single Morpho Blue contract. Accrue interest and inspect specific market data to retrieve supply, borrow, and collateral positions for accurate on-chain accounting.

Can I interact with MetaMorpho vaults to allocate assets across markets?

Yes, you can interact with MetaMorpho vaults to allocate assets across markets. Deposit to, withdraw from, and redeem from these ERC-4626 compliant vaults to manage asset distribution without central governance friction.

What are the required MarketParams for deploying isolated lending markets?

The required MarketParams for deploying isolated lending markets are loanToken, collateralToken, oracle, irm, and lltv. Defining these five parameters ensures immutability and verifiable state for the newly created Morpho Blue market.

Does Morpho Blue require central governance for market creation?

No, Morpho Blue enables developers to deploy isolated lending markets and manage tokens, vaults, and collateral without central governance friction. You interact with a single Morpho Blue contract for all market operations.

How do I verify a Morpho Blue market after creation?

Verify a Morpho Blue market after creation by calling idToMarketParams to check the market parameters. Then, inspect its state by calling the market function to ensure immutability and verifiable state.