界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

moonpay-buy-crypto

moonpay-buy-crypto

【效率与协作】Generate a MoonPay fiat-to-crypto checkout flow on Zo. Use when the user wants to buy crypto with card or bank transfer and then complete the purchase in the Zo browser.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: moonpay-buy-crypto description: Generate a MoonPay fiat-to-crypto checkout flow on Zo. Use when the user wants to buy crypto with card or bank transfer and then complete the purchase in the Zo browser. compatibility: Created for Zo Computer metadata: author: Zo category: Official display-name: MoonPay Buy Crypto

MoonPay Buy Crypto

Create a MoonPay checkout flow on Zo for fiat-to-crypto purchases.

What Zo Uses

  • Terminal for mp buy
  • Browser for the returned checkout URL and any KYC or payment completion

Prerequisites

  • MoonPay CLI installed
  • User authenticated
  • Destination wallet available
  • Token, amount, and destination chain are known

Workflow

  1. Verify auth:
mp user retrieve
  1. Find or confirm the destination wallet:
mp wallet list
  1. Generate the checkout flow:
mp buy \
  --token <currency-code> \
  --amount <usd-amount> \
  --wallet <destination-address> \
  --email <buyer-email>
  1. Tell the user that the next step is in Zo browser.

  2. Open or guide the user to open the returned checkout URL in Zo browser.

Supported Token Codes

btc, sol, eth, trx, pol_polygon, usdc, usdc_sol, usdc_base, usdc_arbitrum, usdc_optimism, usdc_polygon, usdt_trx, eth_polygon, eth_optimism, eth_base, eth_arbitrum

Failure Handling

  • If auth is missing, switch to moonpay-auth.
  • If destination wallet is unclear, stop and confirm before generating the checkout.
  • If the token code is unclear, clarify it before running the command.

Safety Notes

  • Treat this as a write / payment flow. Require explicit confirmation if the amount, token, or destination wallet is ambiguous.
  • Do not describe the returned URL as if it opens on the user's local machine. The correct next step is Zo browser.
  • Completion may require identity verification or payment steps that the user must handle in browser.

Related Skills

  • moonpay-auth
  • moonpay-check-wallet
  • moonpay-swap-tokens
我的收藏