@moonpay/cli 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-SQTD2GMD.js +1992 -0
- package/dist/chunk-SQTD2GMD.js.map +1 -0
- package/dist/index.js +63 -4258
- package/dist/index.js.map +1 -1
- package/dist/mcp-R3YBYDRT.js +208 -0
- package/dist/mcp-R3YBYDRT.js.map +1 -0
- package/package.json +7 -1
- package/skills/moonpay-auth/SKILL.md +43 -9
- package/skills/moonpay-check-wallet/SKILL.md +24 -12
- package/skills/moonpay-discover-tokens/SKILL.md +42 -20
- package/skills/moonpay-mcp/SKILL.md +67 -0
- package/skills/moonpay-x402/SKILL.md +47 -0
- package/skills/moonpay-env/SKILL.md +0 -57
- package/skills/moonpay-portfolio-report/SKILL.md +0 -49
- package/skills/moonpay-rug-check/SKILL.md +0 -59
- package/skills/moonpay-token-brief/SKILL.md +0 -47
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: moonpay-portfolio-report
|
|
3
|
-
description: Generate a portfolio summary with holdings, allocation breakdown, and USD totals. Use when the user asks for a portfolio overview or report.
|
|
4
|
-
tags: [portfolio]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Portfolio report
|
|
8
|
-
|
|
9
|
-
## Goal
|
|
10
|
-
|
|
11
|
-
Produce a structured portfolio report for a wallet: holdings with USD values, allocation percentages, and total portfolio value.
|
|
12
|
-
|
|
13
|
-
## Commands
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Get all balances
|
|
17
|
-
mp token balance list --wallet <address> --chain solana
|
|
18
|
-
|
|
19
|
-
# Get details on a specific token (optional)
|
|
20
|
-
mp token retrieve --token <mint-address> --chain solana
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Workflow
|
|
24
|
-
|
|
25
|
-
1. Run `mp wallet list` to find the user's wallet address.
|
|
26
|
-
2. Call `mp token balance list` with the wallet and chain.
|
|
27
|
-
3. Sort holdings by USD value descending.
|
|
28
|
-
4. Calculate allocation percentages (each holding's USD / total USD).
|
|
29
|
-
5. Format into sections: Top Holdings, Dust Balances, Total Value.
|
|
30
|
-
|
|
31
|
-
## Example flow
|
|
32
|
-
|
|
33
|
-
1. User: "Generate a portfolio report."
|
|
34
|
-
2. Run: `mp token balance list --wallet <address> --chain solana`
|
|
35
|
-
3. Present:
|
|
36
|
-
- **Total value:** $168.05
|
|
37
|
-
- **SOL** — 0.61 ($51.87) — 30.9%
|
|
38
|
-
- **WBTC** — 0.00127 ($85.48) — 50.9%
|
|
39
|
-
- **USDC** — 29.81 ($29.81) — 17.7%
|
|
40
|
-
- **Dust:** none
|
|
41
|
-
|
|
42
|
-
## Output formats
|
|
43
|
-
|
|
44
|
-
Use `mp -f table token balance list ...` for a quick table view, or `mp -f json ...` for programmatic processing.
|
|
45
|
-
|
|
46
|
-
## Related skills
|
|
47
|
-
|
|
48
|
-
- **moonpay-check-wallet** — Quick balance check (this skill builds on it).
|
|
49
|
-
- **moonpay-discover-tokens** — Research specific tokens in the portfolio.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: moonpay-rug-check
|
|
3
|
-
description: Analyze a token for rug pull risk indicators. Use when the user asks "is this token safe?" or wants to evaluate an unknown token before buying.
|
|
4
|
-
tags: [research]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Rug check
|
|
8
|
-
|
|
9
|
-
## Goal
|
|
10
|
-
|
|
11
|
-
Assess a token's risk profile using available market data. Give the user a clear risk summary before they buy.
|
|
12
|
-
|
|
13
|
-
## Commands
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Resolve token address
|
|
17
|
-
mp token search --query "BONK" --chain solana
|
|
18
|
-
|
|
19
|
-
# Get market data
|
|
20
|
-
mp token retrieve --token <mint-address> --chain solana
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Risk indicators to check
|
|
24
|
-
|
|
25
|
-
1. **Liquidity** — Low liquidity = easy to manipulate. Under $10K is a red flag.
|
|
26
|
-
2. **Volume pattern** — Compare 5m/1h/4h/24h volume. Sudden spikes with no context = suspicious.
|
|
27
|
-
3. **Buy/sell ratio** — Heavy sell pressure or extremely one-sided trading = dump risk.
|
|
28
|
-
4. **Unique wallets** — Very few unique wallets trading = concentrated activity.
|
|
29
|
-
5. **Market cap vs liquidity** — Huge mcap with tiny liquidity = inflated, hard to exit.
|
|
30
|
-
6. **Price volatility** — Extreme short-term swings (>50% in 1h) = high risk.
|
|
31
|
-
|
|
32
|
-
## Workflow
|
|
33
|
-
|
|
34
|
-
1. Resolve token via `mp token search` if user provides name/symbol.
|
|
35
|
-
2. Call `mp token retrieve` for market data.
|
|
36
|
-
3. Analyze against risk indicators above.
|
|
37
|
-
4. Present a risk summary with traffic-light ratings.
|
|
38
|
-
|
|
39
|
-
## Example flow
|
|
40
|
-
|
|
41
|
-
1. User: "Is BONK safe to buy?"
|
|
42
|
-
2. Search: `mp token search --query "BONK" --chain solana`
|
|
43
|
-
3. Retrieve: `mp token retrieve --token <address> --chain solana`
|
|
44
|
-
4. Present:
|
|
45
|
-
- Liquidity: $12M (green)
|
|
46
|
-
- Volume 24h: $45M (green)
|
|
47
|
-
- Buy/sell ratio: balanced (green)
|
|
48
|
-
- Unique wallets 24h: 3,200 (green)
|
|
49
|
-
- **Overall: Low risk**
|
|
50
|
-
|
|
51
|
-
## Notes
|
|
52
|
-
|
|
53
|
-
- This is a heuristic check based on market data, not a smart contract audit.
|
|
54
|
-
- Always recommend caution with unknown tokens regardless of data.
|
|
55
|
-
|
|
56
|
-
## Related skills
|
|
57
|
-
|
|
58
|
-
- **moonpay-discover-tokens** — Token search and research.
|
|
59
|
-
- **moonpay-token-brief** — Detailed market data brief.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: moonpay-token-brief
|
|
3
|
-
description: Generate a concise trading brief for a token with market cap, liquidity, volume, momentum, and activity metrics.
|
|
4
|
-
tags: [research]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Token brief
|
|
8
|
-
|
|
9
|
-
## Goal
|
|
10
|
-
|
|
11
|
-
Given a token address, produce a compact brief with key trading metrics.
|
|
12
|
-
|
|
13
|
-
## Command
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
mp token retrieve --token <mint-address> --chain solana
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## What to include
|
|
20
|
-
|
|
21
|
-
- **Identity:** name, symbol, address
|
|
22
|
-
- **Market data:**
|
|
23
|
-
- Market cap, liquidity, volume (24h)
|
|
24
|
-
- Price change % (5m, 1h, 4h, 12h, 24h)
|
|
25
|
-
- Trades, buys/sells, unique wallets (5m through 24h)
|
|
26
|
-
- **Risk notes:** thin liquidity, cooling volume, extreme swings
|
|
27
|
-
|
|
28
|
-
## Example output format
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
BONK (DezX...pump) — mcap $850M, liq $12M, vol24 $45M
|
|
32
|
-
momentum: 1h +2.3%, 4h -0.5%, 24h +8.1%
|
|
33
|
-
activity: trades24 12,500, wallets24 3,200
|
|
34
|
-
note: healthy volume, broad wallet distribution
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Workflow
|
|
38
|
-
|
|
39
|
-
1. If user provides name/symbol, resolve with `mp token search`.
|
|
40
|
-
2. Call `mp token retrieve` for the full data.
|
|
41
|
-
3. Format into a brief.
|
|
42
|
-
|
|
43
|
-
## Related skills
|
|
44
|
-
|
|
45
|
-
- **moonpay-discover-tokens** — Search if you only have a name/symbol.
|
|
46
|
-
- **moonpay-rug-check** — Risk assessment for unknown tokens.
|
|
47
|
-
- **moonpay-swap-tokens** — Trade after analysis.
|