naracli 1.0.84 → 1.0.86

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,14 +271184,7 @@ async function handleQuestGet(options) {
271184
271184
  }
271185
271185
  return;
271186
271186
  }
271187
- let stakeRequired = quest.effectiveStakeRequirement > 0;
271188
- try {
271189
- const config2 = await getQuestConfig(connection);
271190
- if (quest.rewardCount < config2.maxRewardCount) {
271191
- stakeRequired = false;
271192
- }
271193
- } catch {
271194
- }
271187
+ const stakeRequired = true;
271195
271188
  let freeCredits = 0;
271196
271189
  try {
271197
271190
  const stakeInfo = await getStakeInfo(connection, wallet.publicKey);
@@ -276221,7 +276214,7 @@ function registerCommands(program3) {
276221
276214
  }
276222
276215
 
276223
276216
  // bin/nara-cli.ts
276224
- var version2 = true ? "1.0.84" : "dev";
276217
+ var version2 = true ? "1.0.86" : "dev";
276225
276218
  var program2 = new Command();
276226
276219
  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
276220
  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.86",
4
4
  "description": "CLI for the Nara chain (Solana-compatible)",
5
5
  "homepage": "https://nara.build",
6
6
  "repository": {
@@ -107,16 +107,8 @@ 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;
112
- try {
113
- const config = await getQuestConfig(connection);
114
- if (quest.rewardCount < config.maxRewardCount) {
115
- stakeRequired = false;
116
- }
117
- } catch {
118
- // If config fetch fails, fall back to showing stake as-is
119
- }
110
+ // Stake is always required to answer quests
111
+ const stakeRequired = true;
120
112
 
121
113
  // Fetch free credits (stake-free answer quota)
122
114
  let freeCredits = 0;