naracli 1.0.83 → 1.0.85
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 +9 -3
- package/dist/nara-cli-bundle.cjs +107561 -5421
- package/package.json +5 -2
- package/src/cli/commands/bridge.ts +405 -0
- package/src/cli/commands/dex.ts +1133 -0
- package/src/cli/commands/quest.ts +3 -3
- package/src/cli/index.ts +67 -4
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
Wallet management, PoMI mining, agent registration, Twitter binding, and network interaction from the terminal.
|
|
14
|
+
Wallet management, PoMI mining, agent registration, Twitter binding, cross-chain bridge, and network interaction from the terminal.
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ npx naracli <command>
|
|
|
30
30
|
```
|
|
31
31
|
address Show wallet address
|
|
32
32
|
balance [address] Check NARA balance
|
|
33
|
-
token-balance
|
|
33
|
+
token-balance [token-address] [--owner <addr>] Check token balance (no args: show USDC/USDT/SOL)
|
|
34
34
|
tx-status <signature> Check transaction status
|
|
35
35
|
transfer <to> <amount> [-e] Transfer NARA
|
|
36
36
|
transfer-token <token> <to> <amount> [--decimals] Transfer tokens
|
|
@@ -44,7 +44,7 @@ quest config Show quest program config
|
|
|
44
44
|
quest stake <amount> Stake NARA for quests
|
|
45
45
|
quest unstake <amount> Unstake NARA
|
|
46
46
|
quest stake-info Get quest stake info
|
|
47
|
-
agent register <agent-id> [--referral
|
|
47
|
+
agent register <agent-id> [--referral] [--relay] Register agent (free for 8+ chars, --relay for gasless)
|
|
48
48
|
agent get Get agent info, twitter binding, tweet status
|
|
49
49
|
agent myid Show your registered agent ID
|
|
50
50
|
agent config Show agent registry config (fees, rewards, points)
|
|
@@ -73,6 +73,12 @@ zkid info <name> Get ZK ID info
|
|
|
73
73
|
zkid deposit <name> <amount> Deposit NARA
|
|
74
74
|
zkid scan [name] [-w] Scan claimable deposits
|
|
75
75
|
zkid withdraw <name> [--recipient <addr>] Withdraw deposit
|
|
76
|
+
bridge transfer <token> <amount> --from <chain> Bridge tokens between Solana and Nara
|
|
77
|
+
bridge status <tx-or-message-id> --from <chain> Check bridge transfer delivery status
|
|
78
|
+
bridge info Show bridgeable token balances on both chains
|
|
79
|
+
bridge tokens List supported bridge tokens
|
|
80
|
+
guide Show the full NARA usage guide
|
|
81
|
+
activity Show current community activities
|
|
76
82
|
config get Show current config
|
|
77
83
|
config set <key> <value> Set config value
|
|
78
84
|
config reset [key] Reset config to default
|