morpho-cli

Queries Morpho lending protocol vaults, positions, and simulates transactions via CLI.

Updated Jun 4, 2024
One-click install
npx skills add https://github.com/meta-light/meta-light --skill morpho-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: morpho-cli
Source: https://github.com/meta-light/meta-light/tree/main/.agents/skills/morpho-cli
Command: npx skills add https://github.com/meta-light/meta-light --skill morpho-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @morpho-org/cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies terminal interaction with the Morpho lending protocol, enabling users to query protocol data, prepare transactions, and manage their Morpho positions.

Core Features & Use Cases

  • Querying Protocol Data: Access real-time data on vaults, markets, and user positions.
  • Transaction Simulation: Prepare unsigned transactions with built-in simulation for all supported chains.
  • Use Case: For example, a user can compare market APYs and TVLs across different chains or inspect their own positions without leaving the terminal.

Quick Start

Query the APY of the top USDC vault on the Base chain by running morpho-cli query-vaults --chain base --asset-symbol USDC.

Frequently Asked Questions about morpho-cli

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

FAQPage Schema
How do I query Morpho lending protocol vault APYs from the terminal?

You can query Morpho vault APYs from the terminal by running a command like `morpho-cli query-vaults --chain base --asset-symbol USDC` to retrieve real-time data on supported blockchains.

Can I simulate Morpho protocol transactions before signing them?

Yes, you can simulate Morpho protocol transactions to prepare unsigned transactions across supported chains like Ethereum, Base, and Arbitrum using the built-in transaction simulation features.

How do I check my Morpho positions and market TVL across different blockchains?

You can check your Morpho positions and market TVL by querying protocol data directly, allowing you to compare TVLs and user positions across supported blockchains without leaving the terminal.

Do I need to install any dependencies to interact with the Morpho protocol via CLI?

Yes, you must install the `@morpho-org/cli` package as a dependency to operate the CLI interface for querying protocol data and preparing transactions on the Morpho lending protocol.

What blockchains are supported for querying Morpho vaults and markets?

The Morpho CLI supports querying vaults and markets across multiple blockchains, specifically including Ethereum, Base, and Arbitrum, enabling cross-chain protocol data access and transaction simulation.