计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
moonpay-auth【效率与协作】Set up the MoonPay CLI on Zo, authenticate the current user, and create or inspect local wallets. Use when MoonPay commands fail because the user is not logged in, when a wallet is missing, or when a MoonPay flow needs login completed before continuing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Set up MoonPay on Zo so later wallet, buy, swap, or virtual-account flows can run cleanly.
mp CLI commandsnpm i -g @moonpay/cli
mp --version
mp --help
mp user retrieve
mp login --email user@example.com
mp login generates a sign-in link and attempts to open it in a browser. On Zo, treat that as a Zo browser step, not a local-desktop browser step.
If MoonPay returns a sign-in link or asks for browser continuation, move the user to Zo browser and complete that step there.
Complete verification:
mp verify --email user@example.com --code 123456
mp wallet list
mp wallet create --name "default"
# Create a new wallet
mp wallet create --name "default"
# Import from mnemonic
mp wallet import --name "restored" --mnemonic "word1 word2 ..."
# Import from private key for a single chain
mp wallet import --name "imported" --key <hex-key> --chain ethereum
# List wallets
mp wallet list
# Retrieve one wallet
mp wallet retrieve --wallet "default"
~/.config/moonpay/wallets.json~/.config/moonpay/credentials.json~/.config/moonpay/config.jsonThese are local to the Zo machine. Do not assume the user is on a desktop with local MoonPay state elsewhere.
mp is missing, install it and verify again.mp user retrieve fails, do not continue to buy, swap, or virtual-account flows until login is complete.mp login produces a sign-in link or browser continuation step, move the user to Zo browser rather than describing local-browser steps.mp wallet export is interactive and should not be used as part of a normal Zo agent flow.moonpay-check-walletmoonpay-buy-cryptomoonpay-swap-tokensmoonpay-virtual-account