Skip to content

feat(morpho-cli-onchainos): v0.1.0 — Morpho Protocol vaults and markets across 10 EVM chains#453

Open
skylavis-sky wants to merge 1 commit into
okx:mainfrom
skylavis-sky:feat/morpho-cli-onchainos
Open

feat(morpho-cli-onchainos): v0.1.0 — Morpho Protocol vaults and markets across 10 EVM chains#453
skylavis-sky wants to merge 1 commit into
okx:mainfrom
skylavis-sky:feat/morpho-cli-onchainos

Conversation

@skylavis-sky
Copy link
Copy Markdown
Contributor

Summary

  • Plugin: morpho-cli-onchainos v0.1.0
  • Form: B-REST (CLI-backed) — TypeScript wrapper around npx @morpho-org/cli returning JSON
  • Tools: 10 tools (healthCheck, getSupportedChains, queryVaults, getVault, queryMarkets, getMarket, getPositions, getTokenBalance, simulateTransactions, prepareDeposit / prepareWithdraw / prepareSupply / prepareBorrow / prepareRepay / prepareSupplyCollateral)
  • Chains: Ethereum, Base, Arbitrum, Optimism, Polygon, Unichain, WorldChain, Katana, HyperEVM, Monad
  • Signing: All transaction tools return pending_sign envelopes routed through onchainos wallet contract-call

Generated by okx/dapp-connect-agenticwallet v1.14. Source: morpho-org/morpho-skills@morpho-cli (wraps npx @morpho-org/cli).

Technical Details

  • Language: TypeScript (Node.js ≥ 18, tsx runtime)
  • Entry point: cli.ts — dispatches to tool functions in index.ts
  • Runtime: runtime.ts — executes npx @morpho-org/cli subcommands via execSync, parses JSON output
  • Mock mode: set MORPHO_RUNTIME=real for live RPC; default is mock for smoke testing
  • QA status: All A1–A8 mechanical checks + G1 UX + G2 functional audit PASS (see QA-PIPELINE.md)

Checklist

  • plugin.yaml with schema_version: 1, correct api_calls, MIT license
  • SUMMARY.md with ## Overview, ## Prerequisites, ## Quick Start
  • LICENSE (MIT)
  • All transaction tools return pending_sign envelopes — no local signing
  • Only skills/morpho-cli-onchainos/ files in diff

🤖 Generated with Claude Code

…ts across 10 EVM chains with pending_sign routing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant