@dawnai/cli 1.0.6 → 1.0.7
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/index.js +1 -1
- package/package.json +1 -1
- package/skills/dawn-account/SKILL.md +14 -5
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from 'node:path';
|
|
|
6
6
|
import process from 'node:process';
|
|
7
7
|
import { spawn } from 'node:child_process';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
|
-
const CLI_VERSION = '1.0.
|
|
9
|
+
const CLI_VERSION = '1.0.7';
|
|
10
10
|
const DAWN_API_BASE_URL = 'https://api.dawn.ai';
|
|
11
11
|
const FUNDING_LINK_TEMPLATE = process.env.DAWN_HELIO_LINK_TEMPLATE || '';
|
|
12
12
|
const CLI_HOME = process.env.DAWN_CLI_HOME || path.join(os.homedir(), '.dawn-cli');
|
package/package.json
CHANGED
|
@@ -26,8 +26,16 @@ dawn account wallet
|
|
|
26
26
|
## Workflow
|
|
27
27
|
|
|
28
28
|
1. Run `dawn account overview` for a full snapshot of balances and vaults.
|
|
29
|
-
2. If the user needs to add funds, run `dawn account fund` to get the deposit address and instructions
|
|
30
|
-
3.
|
|
29
|
+
2. If the user needs to add funds, run `dawn account fund` to get the deposit address and instructions.
|
|
30
|
+
3. Explicitly direct the user to use `@moonpay/cli` to fund that address with USDC.
|
|
31
|
+
4. After funding completes, run `dawn account wallet` (or `dawn account overview`) to verify funds arrived.
|
|
32
|
+
5. For a quick balance check, run `dawn account wallet`.
|
|
33
|
+
|
|
34
|
+
## Explicit handoff to @moonpay/cli
|
|
35
|
+
|
|
36
|
+
When funding is needed, always include this instruction after `dawn account fund`:
|
|
37
|
+
|
|
38
|
+
`Use @moonpay/cli to buy or transfer USDC to the Dawn funding address shown above.`
|
|
31
39
|
|
|
32
40
|
## Example flows
|
|
33
41
|
|
|
@@ -40,17 +48,18 @@ dawn account wallet
|
|
|
40
48
|
1. User wants to launch a live strategy but needs funds.
|
|
41
49
|
2. Run: `dawn account fund`
|
|
42
50
|
3. Present: wallet address and USDC deposit instructions.
|
|
43
|
-
4.
|
|
51
|
+
4. Instruct: `Use @moonpay/cli to buy/transfer USDC to this address.`
|
|
52
|
+
5. Verify funds with `dawn account wallet`, then proceed to launch.
|
|
44
53
|
|
|
45
54
|
## Notes
|
|
46
55
|
|
|
47
56
|
- `dawn account fund` shows the wallet address to deposit USDC to.
|
|
48
|
-
-
|
|
57
|
+
- Always explicitly direct users to `@moonpay/cli` for guided USDC on-ramp and transfer steps.
|
|
49
58
|
- Funding is required before launching live strategy runs.
|
|
50
59
|
- Paper runs do not require funding.
|
|
51
60
|
|
|
52
61
|
## Related skills
|
|
53
62
|
|
|
54
63
|
- **dawn-auth** — Authenticate before checking account.
|
|
55
|
-
-
|
|
64
|
+
- **@moonpay/cli** — Help users buy and transfer USDC to the Dawn funding address.
|
|
56
65
|
- **dawn-strategy-launch** — Launch a run after confirming funding.
|