Zo moonpay auth

From zocomputer/skills · View interactive version

Zo moonpay auth is an AI agent skill from the GitHub repository zocomputer/skills. 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.

How to use this skill

Skill file

MoonPay Auth

Set up MoonPay on Zo so later wallet, buy, swap, or virtual-account flows can run cleanly.

What Zo Uses

Prerequisites

Zo-Native Setup

  1. Install the MoonPay CLI in the terminal:
npm i -g @moonpay/cli
  1. Verify the install:
mp --version
mp --help
  1. Check whether the user is already authenticated:
mp user retrieve
  1. If not authenticated, start login:
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.

  1. If MoonPay returns a sign-in link or asks for browser continuation, move the user to Zo browser and complete that step there.
  1. Complete verification:
mp verify --email user@example.com --code 123456
  1. Inspect available wallets:
mp wallet list
  1. If no wallet exists, create one:
mp wallet create --name "default"

Wallet Operations

# 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 and Storage Notes

These are local to the Zo machine. Do not assume the user is on a desktop with local MoonPay state elsewhere.

Failure Handling

Safety Notes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.