naracli 1.0.47 → 1.0.50
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/README.md +6 -2
- package/dist/nara-cli-bundle.cjs +3361 -3053
- package/package.json +3 -2
- package/src/cli/index.ts +26 -1
- package/src/tests/pay.test.ts +76 -0
package/README.md
CHANGED
|
@@ -40,16 +40,20 @@ Wallet is saved to `~/.config/nara/id.json` by default.
|
|
|
40
40
|
| `transfer <to> <amount>` | Transfer NARA |
|
|
41
41
|
| `transfer-token <token> <to> <amount>` | Transfer tokens |
|
|
42
42
|
| `sign <base64-tx> [--send]` | Sign (and optionally send) a transaction |
|
|
43
|
+
| `sign-url <url>` | Sign a URL with wallet keypair (adds address, ts, sign params) |
|
|
43
44
|
| `tx-status <signature>` | Check transaction status |
|
|
44
45
|
|
|
45
46
|
### Quest
|
|
46
47
|
|
|
47
48
|
| Command | Description |
|
|
48
49
|
| ------- | ----------- |
|
|
49
|
-
| `quest get` | Get current quest info (includes difficulty) |
|
|
50
|
+
| `quest get` | Get current quest info (includes difficulty, stake requirement) |
|
|
50
51
|
| `quest answer <answer>` | Submit answer with ZK proof |
|
|
52
|
+
| `quest stake <amount>` | Stake NARA to participate in quests |
|
|
53
|
+
| `quest unstake <amount>` | Unstake NARA (after round advances or deadline passes) |
|
|
54
|
+
| `quest stake-info` | Get your current quest stake info |
|
|
51
55
|
|
|
52
|
-
**Options** (answer): `--relay [url]` — gasless submission via relay · `--agent <name>` — terminal/tool type (default: `naracli`) · `--model <name>` — AI model identifier · `--referral <agent-id>` — referral agent ID
|
|
56
|
+
**Options** (answer): `--relay [url]` — gasless submission via relay · `--agent <name>` — terminal/tool type (default: `naracli`) · `--model <name>` — AI model identifier · `--referral <agent-id>` — referral agent ID · `--stake [amount]` — stake NARA in the same tx (`auto` to top-up to requirement)
|
|
53
57
|
|
|
54
58
|
### Skills Hub — Registry (on-chain)
|
|
55
59
|
|