naracli 1.0.91 → 1.0.92
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/nara-cli-bundle.cjs
CHANGED
|
@@ -271417,7 +271417,7 @@ async function handleQuestGet(options) {
|
|
|
271417
271417
|
` Stake reward: ${quest.stakeRewardPerWinner} NARA/winner, ${quest.stakeWinnerCount}/${quest.stakeRewardCount} (${quest.stakeRemainingSlots} remaining)`
|
|
271418
271418
|
);
|
|
271419
271419
|
console.log(
|
|
271420
|
-
`
|
|
271420
|
+
` Boost reward: ${quest.creditRewardPerWinner} NARA/winner, ${quest.creditWinnerCount}/${quest.creditRewardCount} (${quest.creditRemainingSlots} remaining)`
|
|
271421
271421
|
);
|
|
271422
271422
|
if (stakeRequired) {
|
|
271423
271423
|
console.log(` Stake requirement: ${quest.effectiveStakeRequirement.toFixed(9).replace(/\.?0+$/, "")} NARA (decays ${quest.stakeHigh} \u2192 ${quest.stakeLow})`);
|
|
@@ -271426,7 +271426,7 @@ async function handleQuestGet(options) {
|
|
|
271426
271426
|
} else {
|
|
271427
271427
|
console.log(` Stake requirement: none`);
|
|
271428
271428
|
}
|
|
271429
|
-
console.log(`
|
|
271429
|
+
console.log(` Boost credits: ${freeCredits}`);
|
|
271430
271430
|
console.log(` Deadline: ${new Date(quest.deadline * 1e3).toLocaleString()}`);
|
|
271431
271431
|
if (quest.timeRemaining > 0) {
|
|
271432
271432
|
console.log(` Time remaining: ${formatTimeRemaining(quest.timeRemaining)}`);
|
|
@@ -276939,7 +276939,7 @@ function registerCommands(program3) {
|
|
|
276939
276939
|
}
|
|
276940
276940
|
|
|
276941
276941
|
// bin/nara-cli.ts
|
|
276942
|
-
var version2 = true ? "1.0.
|
|
276942
|
+
var version2 = true ? "1.0.92" : "dev";
|
|
276943
276943
|
var program2 = new Command();
|
|
276944
276944
|
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);
|
|
276945
276945
|
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
|
@@ -155,7 +155,7 @@ async function handleQuestGet(options: GlobalOptions & { verbose?: boolean }) {
|
|
|
155
155
|
` Stake reward: ${quest.stakeRewardPerWinner} NARA/winner, ${quest.stakeWinnerCount}/${quest.stakeRewardCount} (${quest.stakeRemainingSlots} remaining)`
|
|
156
156
|
);
|
|
157
157
|
console.log(
|
|
158
|
-
`
|
|
158
|
+
` Boost reward: ${quest.creditRewardPerWinner} NARA/winner, ${quest.creditWinnerCount}/${quest.creditRewardCount} (${quest.creditRemainingSlots} remaining)`
|
|
159
159
|
);
|
|
160
160
|
if (stakeRequired) {
|
|
161
161
|
console.log(` Stake requirement: ${quest.effectiveStakeRequirement.toFixed(9).replace(/\.?0+$/, "")} NARA (decays ${quest.stakeHigh} → ${quest.stakeLow})`);
|
|
@@ -164,7 +164,7 @@ async function handleQuestGet(options: GlobalOptions & { verbose?: boolean }) {
|
|
|
164
164
|
} else {
|
|
165
165
|
console.log(` Stake requirement: none`);
|
|
166
166
|
}
|
|
167
|
-
console.log(`
|
|
167
|
+
console.log(` Boost credits: ${freeCredits}`);
|
|
168
168
|
console.log(` Deadline: ${new Date(quest.deadline * 1000).toLocaleString()}`);
|
|
169
169
|
if (quest.timeRemaining > 0) {
|
|
170
170
|
console.log(` Time remaining: ${formatTimeRemaining(quest.timeRemaining)}`);
|