naracli 1.0.84 → 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 CHANGED
@@ -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 <token-address> [--owner <addr>] Check token balance (SPL Token & Token-2022)
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
@@ -73,8 +73,9 @@ 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 (0.5% fee)
76
+ bridge transfer <token> <amount> --from <chain> Bridge tokens between Solana and Nara
77
77
  bridge status <tx-or-message-id> --from <chain> Check bridge transfer delivery status
78
+ bridge info Show bridgeable token balances on both chains
78
79
  bridge tokens List supported bridge tokens
79
80
  guide Show the full NARA usage guide
80
81
  activity Show current community activities
@@ -271184,7 +271184,7 @@ async function handleQuestGet(options) {
271184
271184
  }
271185
271185
  return;
271186
271186
  }
271187
- let stakeRequired = quest.effectiveStakeRequirement > 0;
271187
+ let stakeRequired = true;
271188
271188
  try {
271189
271189
  const config2 = await getQuestConfig(connection);
271190
271190
  if (quest.rewardCount < config2.maxRewardCount) {
@@ -276221,7 +276221,7 @@ function registerCommands(program3) {
276221
276221
  }
276222
276222
 
276223
276223
  // bin/nara-cli.ts
276224
- var version2 = true ? "1.0.84" : "dev";
276224
+ var version2 = true ? "1.0.85" : "dev";
276225
276225
  var program2 = new Command();
276226
276226
  program2.name("naracli").description("CLI for the Nara chain. Native coin is NARA (not SOL). Mine NARA for free via PoMI quests, manage wallets, register agents, and more. Run 'naracli <command> --help' for details on any command.").version(version2);
276227
276227
  program2.option("-r, --rpc-url <url>", "RPC endpoint (default: https://mainnet-api.nara.build/)").option("-w, --wallet <path>", "Path to wallet keypair JSON file (default: ~/.config/nara/id.json)").option("-j, --json", "Output in JSON format");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naracli",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "CLI for the Nara chain (Solana-compatible)",
5
5
  "homepage": "https://nara.build",
6
6
  "repository": {
@@ -107,15 +107,15 @@ async function handleQuestGet(options: GlobalOptions & { verbose?: boolean }) {
107
107
  return;
108
108
  }
109
109
 
110
- // Stake only applies when reward slots have reached maxRewardCount
111
- let stakeRequired = quest.effectiveStakeRequirement > 0;
110
+ // Stake is required once reward slots have reached maxRewardCount
111
+ let stakeRequired = true;
112
112
  try {
113
113
  const config = await getQuestConfig(connection);
114
114
  if (quest.rewardCount < config.maxRewardCount) {
115
115
  stakeRequired = false;
116
116
  }
117
117
  } catch {
118
- // If config fetch fails, fall back to showing stake as-is
118
+ // If config fetch fails, default to requiring stake
119
119
  }
120
120
 
121
121
  // Fetch free credits (stake-free answer quota)