moonpay-hardware-wallet
Connect a hardware wallet (Ledger) to the MoonPay CLI. Sign transactions on the physical device — no private keys stored locally.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- moonpay-hardware-wallet
- tags
- [ "wallet" ]
- description
- Connect a hardware wallet (Ledger) to the MoonPay CLI. Sign transactions on the physical device — no private keys stored locally.
02 资源文件 2
- 参考文档metadata.json325 B
- 参考文档verification.json1011 B
03 SKILL.md 正文
Hardware wallet support
Goal
Connect a hardware wallet to the MoonPay CLI. Private keys never leave the device — the CLI stores only cached addresses. All existing commands (swap, transfer, bridge, buy, balance) work transparently with hardware wallets.
First supported device: Ledger (Nano S, Nano X, Nano S Plus, Stax, Flex).
Prerequisites
- Ledger device connected via USB
- Ledger Live installed (for firmware updates)
- Ethereum and/or Solana apps installed on the device
Commands
Add a hardware wallet
# Auto-detect connected device
mp wallet hardware add --name "my-ledger"
# Specify device type explicitly
mp wallet hardware add --name "my-ledger" --device ledger
This connects to the device, derives addresses for all supported chains (Ethereum, Solana), and saves the wallet. No secrets are stored — only addresses.
Refresh addresses
mp wallet hardware refresh --wallet "my-ledger"
Re-derives addresses from the connected device. Use this if you changed the account index in Ledger Live or need to update cached addresses.
List wallets
mp wallet list
Hardware wallets appear alongside software wallets with a [hardware/ledger] tag.
Using hardware wallets
Once added, use --wallet like any other wallet. The CLI automatically connects to the device for signing.
Check balances (no device needed)
mp token balance list --wallet my-ledger --chain ethereum
mp token balance list --wallet my-ledger --chain solana
Swap tokens (signs on device)
mp token swap \
--wallet my-ledger --chain ethereum \
--from-token 0x0000000000000000000000000000000000000000 \
--from-amount 0.01 \
--to-token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
The CLI prompts you to review and confirm the transaction on your Ledger.
Transfer tokens (signs on device)
mp token transfer \
--wallet my-ledger --chain ethereum \
--token 0x0000000000000000000000000000000000000000 \
--amount 0.01 \
--to 0x1234...
Bridge cross-chain (signs on device)
mp token bridge \
--from-wallet my-ledger --from-chain ethereum \
--from-token 0x0000000000000000000000000000000000000000 \
--from-amount 0.01 \
--to-chain polygon \
--to-token 0x0000000000000000000000000000000000000000
How it works
wallet hardware addconnects via USB, switches Ledger apps automatically, and derives addresses- Addresses are cached in the encrypted vault — read-only commands work without the device
- For signing commands, the CLI connects to the device, opens the correct app, and prompts for on-device approval
- The device signs the transaction — the private key never leaves the hardware
- The CLI broadcasts the signed transaction
Supported chains
- Ethereum (+ all EVM: Base, Polygon, Arbitrum, Optimism, BNB, Avalanche)
- Solana
- Bitcoin and Tron are not supported via Ledger
Tips
- The device must be unlocked and on the home screen when connecting
- App switching is automatic — no need to manually open Ethereum or Solana apps
- If signing times out, check the Ledger screen for a pending approval prompt
wallet exportis not available for hardware wallets (there are no secrets to export)
Related skills
- moonpay-auth — Set up the CLI and manage software wallets
- moonpay-swap-tokens — Swap or bridge tokens
- moonpay-check-wallet — Check wallet balances
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.