@moonpay/cli 0.3.2 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonpay/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,7 +28,7 @@ mp buy \
28
28
 
29
29
  1. User: "I want to buy 1 SOL with my credit card."
30
30
  2. Run: `mp buy --token sol --amount 1 --wallet <address> --email user@example.com`
31
- 3. Return the checkout URL for the user to open in their browser.
31
+ 3. Open the returned checkout URL in the user's browser so they can complete the purchase.
32
32
 
33
33
  ## Notes
34
34
 
@@ -4,7 +4,7 @@ description: A series of missions that walk through every MoonPay CLI capability
4
4
  tags: [setup]
5
5
  ---
6
6
 
7
- # MoonPay Orientation
7
+ # MoonPay Missions
8
8
 
9
9
  Walk the user through a series of missions. Complete each one before moving to the next. After each mission, give a brief summary of what they just did and what's next.
10
10
 
@@ -27,9 +27,17 @@ Tell the user their email, wallet address, and that this wallet's private key li
27
27
 
28
28
  ## Mission 2: Recon
29
29
 
30
- **Goal:** Search for a token and pull up its intel.
30
+ **Goal:** See what's trending and research a token.
31
31
 
32
- Ask the user to pick a token (or default to SOL). Then:
32
+ First, check what's hot:
33
+
34
+ ```bash
35
+ mp token trending list --chain solana --limit 5 --page 1
36
+ ```
37
+
38
+ Present the top trending tokens with price, 24h change, and volume.
39
+
40
+ Then ask the user to pick a token to research (or default to SOL):
33
41
 
34
42
  ```bash
35
43
  mp token search --query "<token>" --chain solana
@@ -71,13 +79,13 @@ If no, move on. Either way, explain what just happened: the transaction was buil
71
79
 
72
80
  ## Mission 5: Buy with Fiat
73
81
 
74
- **Goal:** Generate a fiat checkout link.
82
+ **Goal:** Generate a fiat checkout link and open it.
75
83
 
76
84
  ```bash
77
85
  mp buy --token sol --amount 1 --wallet <address> --email <email-from-mission-1>
78
86
  ```
79
87
 
80
- Present the checkout URL. Explain: this opens MoonPay's fiat gateway where they can pay with a card or bank transfer. Tokens get sent to their wallet.
88
+ Present the checkout URL and open it in the user's browser. Explain: this is MoonPay's fiat gateway where they can buy crypto with a card or bank transfer. Tokens get sent directly to their wallet.
81
89
 
82
90
  ## Mission 6: Message Signing
83
91