Skip to content

feat(ecosystem): add MoonPay skill (fiat ramps + payments + swap/bridge + automation)#35

Open
SahilAujla wants to merge 2 commits into
mainfrom
ecosystem-moonpay
Open

feat(ecosystem): add MoonPay skill (fiat ramps + payments + swap/bridge + automation)#35
SahilAujla wants to merge 2 commits into
mainfrom
ecosystem-moonpay

Conversation

@SahilAujla
Copy link
Copy Markdown
Contributor

Summary

  • Adds MoonPay as an ecosystem partner skill (skills/ecosystem/moonpay/), curated subset of moonpay/skills
  • Drives the official mp CLI for: fiat → crypto checkout (mp buy), full fiat on/off-ramp virtual account (mp virtual-account *), permissionless multi-chain deposit links (mp deposit *), Solana Pay Shopify checkout (mp commerce *), same-chain swap + cross-chain bridge (mp token swap / mp token bridge), and trading automation (DCA / limit / stop loss via cron or launchd)
  • Adds the path to .claude-plugin/plugin.json so the Vercel npx skills CLI discovers it

Scope

In: mp buy (BTC, SOL, ETH, USDC multi-chain, USDT, etc.), mp virtual-account * (KYC + bank registration + USD/EUR ↔ stablecoins on Solana, Ethereum, Polygon, Base, Arbitrum), mp deposit * (multi-chain deposit links auto-converting to chosen stablecoin), mp commerce * (Solana Pay Shopify checkout via Helio), mp token swap / mp token bridge (same-chain + cross-chain swaps via swaps.xyz across Solana, EVM L1s/L2s, BTC for bridges), and trading automation (shell-script + cron / launchd patterns composing the above for DCA / limit-order / stop-loss).

Out (routes back to first-party Alchemy): token prices → Prices API · token metadata → Token API · balances → Portfolio API · transaction history → Transfers API · NFTs → NFT API · live RPC / block-explorer reads → JSON-RPC · wallet auth, hardware wallet, AA → Wallets / Account Kit · x402 → agentic-gateway (decline upstream moonpay-x402) · prediction markets, internal CLI features (mcp, scout, missions, statusline, feedback, upgrade, export-data) → out of scope; install upstream moonpay/skills directly if needed.

Test plan

  • npx skills add . --list finds 6 skills: 4 first-party + allium + moonpay (allium and moonpay both under "Alchemy" group from manifest)
  • MoonPay scope_in audited against alchemy-api (Token, Portfolio, Prices, Transfers, NFT, Simulation, JSON-RPC) — zero overlap; the six mirrored surfaces (fiat onramp/offramp, deposit links, commerce, swap/bridge, trading automation) are gaps Alchemy doesn't cover first-party

Made with Cursor

SahilAujla and others added 2 commits May 7, 2026 12:04
Adds skills/ecosystem/moonpay/ — a curated subset of moonpay/skills
focused on the fiat / payments surfaces that fill clean gaps in
Alchemy's first-party catalog. Drives the official `mp` CLI.

scope_in (4 of ~30 upstream sub-skills):
- mp buy: fiat → crypto checkout (credit card / bank → BTC, SOL, ETH,
  USDC multi-chain, USDT, etc.)
- mp virtual-account: full fiat on/off-ramp infrastructure (KYC, bank
  registration, USD/EUR ↔ USDC/USDT/EURC on Solana, Ethereum, Polygon,
  Base, Arbitrum)
- mp deposit: permissionless multi-chain deposit links — sender pays
  any token from Solana/Ethereum/Bitcoin/Tron, auto-converts to chosen
  stablecoin on destination chain
- mp commerce: Solana Pay Shopify checkout via Helio (gas-sponsored)

scope_out (routes back to first-party Alchemy or other ecosystem):
- token swaps → lifi (broader DEX + bridge coverage; we decline
  upstream moonpay-swap-tokens)
- token prices, metadata, balances, transfers, NFT data → alchemy-api
- live RPC reads → alchemy-api JSON-RPC
- wallet auth, hardware wallet, AA → alchemy-api Wallets / Account Kit
- x402 → agentic-gateway (we decline upstream moonpay-x402)
- prediction markets, trading automation, internal CLI features → out
  of scope; install upstream moonpay/skills directly if needed

Reciprocity note: moonpay/skills already mirrors alchemy-api and
alchemy-agentic-gateway, so the partner ask is mostly already done.

Co-authored-by: Cursor <cursoragent@cursor.com>
…g automation

The lifi ecosystem skill isn't merged into main yet, so token swap and
trading-automation are no longer routed there. Bring both surfaces into
the curated subset:

scope_in additions:
- mp token swap / mp token bridge: same-chain swaps + cross-chain bridges
  via swaps.xyz across Solana, Ethereum, Base, Polygon, Arbitrum,
  Optimism, BNB, Avalanche, Bitcoin (bridges only). Auto-handles ERC-20
  approvals.
- Trading automation: shell-script + cron / launchd patterns composing
  mp token swap / search for DCA, limit orders, stop losses.
  Self-disabling for one-shot triggers. Logs to ~/.config/moonpay/logs.

scope_out updates:
- Drop the "token swaps -> lifi" handoff row.
- Remove "trading automation" from the out-of-scope list in the SKILL.md
  and references/cli.md "Out of scope here" table.

Other:
- Frontmatter description tightened (under ~600 chars).
- agents/openai.yaml default_prompt updated to mention swap/bridge +
  trading automation.
- Quick examples in SKILL.md now cover same-chain swap + cross-chain
  bridge + DCA pattern (with pointer to references/cli.md for full
  templates).

Co-authored-by: Cursor <cursoragent@cursor.com>
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